| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
in docstrings and comments.
|
| |
| |
| |
| | |
in docstrings and comments.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
to correctly process the opcode when it is used on non-list objects.
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
The C version tried to remove trailing whitespace between the last quote and
the newline character. I am not sure why it had this because pickle never
generated such pickles---for this to happen repr(some_string) would need to
return trailing whitespace. It was maybe there to make it easier for people
to write pickles in text editors. Anyhow, the Python version doesn't do this
so there is no point keeping this around anymore.
Also, I've changed the exception raised when a bad pickle is encountered.
Again this unlikely to make much difference to anyone though it does make
testing slightly nicer for us.
|
| |
|
|\ |
|
| |
| |
| |
| | |
by Marius Gedminas.
|
|\ \
| |/
| |
| |
| |
| | |
pickle module.
Patch by Stefan Mihaila.
|
| |
| |
| |
| |
| |
| | |
pickle module.
Patch by Stefan Mihaila.
|
| |
| |
| |
| | |
Thanks for James Sanders for the bug report and the patch.
|
| |
| |
| |
| |
| |
| | |
attribute which allows to set custom per-pickler reduction functions.
Patch by sbt.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Initial patch by sbt.
|
| | |
|
|\ \
| |/
| |
| |
| | |
- bigmemtest is replaced by precisionbigmemtest
- add a poor man's watchdog thread to print memory consumption
|
| |
| |
| |
| |
| | |
- bigmemtest is replaced by precisionbigmemtest
- add a poor man's watchdog thread to print memory consumption
|
|\ \
| |/
| |
| |
| | |
metaclass is registered with copyreg. Patch by Nicolas M. Thiéry and
Craig Citro.
|
| |
| |
| |
| |
| | |
metaclass is registered with copyreg. Patch by Nicolas M. Thiéry and
Craig Citro.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| | |
the C pickle implementation.
|
| |
| |
| |
| | |
the C pickle implementation.
|
|\ \
| |/
| |
| | |
(more than 2**31 items). Instead, in most cases, an OverflowError is raised.
|
| |
| |
| |
| | |
(more than 2**31 items). Instead, in most cases, an OverflowError is raised.
|
| | |
|
| |
| |
| |
| | |
between 2**31 and 2**63 on systems with a 64-bit C "long".
|
|\ \
| |/
| |
| | |
(protocol 0, mostly) pickles.
|
| |
| |
| |
| | |
(protocol 0, mostly) pickles.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88546 | alexander.belopolsky | 2011-02-24 14:40:09 -0500 (Thu, 24 Feb 2011) | 3 lines
Issue #11286: Fixed unpickling of empty 2.x strings.
........
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
| |
Many tests simply didn't care if they unset a pre-existing trace function. This
made test coverage impossible. This patch fixes various tests to put back any
pre-existing trace function. It also introduces test.support.no_tracing as a
decorator which will temporarily unset the trace function for tests which
simply fail otherwise.
Thanks to Kristian Vlaardingerbroek for helping to find the cause of various
trace function unsets.
|
| |
|
|
|
|
| |
test_multiprocessing's misbehaviour.
|
| |
|
|
|
|
| |
method.
|
|
|
|
|
| |
speedups up to 4x (depending on the benchmark). Mostly ported from
Unladen Swallow; initial patch by Alexandre Vassalotti.
|
|
|
|
| |
python when they contain instances of old-style classes.
|
|
|
|
|
| |
encoding unicode as utf8 to support lone surrogates and stay compatible with
Python 2.x and 3.0
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line
use assert[Not]IsInstance where appropriate
........
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77352 | antoine.pitrou | 2010-01-07 18:46:49 +0100 (jeu., 07 janv. 2010) | 5 lines
Issue #7455: Fix possible crash in cPickle on invalid input. Patch by
Florent Xicluna.
........
r77353 | antoine.pitrou | 2010-01-07 18:49:37 +0100 (jeu., 07 janv. 2010) | 3 lines
Fix attribution. Florent actually repackaged and reviewed Victor's patch (sorry!).
........
r77354 | antoine.pitrou | 2010-01-07 18:54:10 +0100 (jeu., 07 janv. 2010) | 3 lines
Fix reattribution mistake when fixing attribution mistake!
........
|
|
|
|
| |
references to long in py3k. Patch provided by flox.
|
| |
|
|
|
|
|
|
| |
or dumping pickles with a 2.x-compatible protocol, in order to make data
sharing and migration easier. This behaviour can be disabled using the
new `fix_imports` optional argument.
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72930 | collin.winter | 2009-05-25 21:12:39 -0700 (Mon, 25 May 2009) | 1 line
Issue 5794: fix cPickle's unpickling of recursive tuples.
........
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72223 | antoine.pitrou | 2009-05-02 23:13:23 +0200 (sam., 02 mai 2009) | 5 lines
Isue #5084: unpickling now interns the attribute names of pickled objects,
saving memory and avoiding growth in size of subsequent pickles. Proposal
and original patch by Jake McGuire.
........
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68903 | mark.dickinson | 2009-01-24 16:40:29 +0000 (Sat, 24 Jan 2009) | 5 lines
Issue #1672332: Fix unpickling of subnormal floats, which was raising
ValueError on some platforms as a result of the platform strtod setting
errno on underflow.
........
r68906 | mark.dickinson | 2009-01-24 21:08:38 +0000 (Sat, 24 Jan 2009) | 2 lines
Issue #3657: fix occasional test_pickletools failures.
........
|