Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -2/+2 |
| | | | | error messages and comments. | ||||
* | Isuse #17720: Fix APPENDS handling in the Python implementation of Unpickler | Alexandre Vassalotti | 2013-04-20 | 1 | -2/+8 |
| | | | | to correctly process the opcode when it is used on non-list objects. | ||||
* | Issue #17710: Fix pickle raising a SystemError on bogus input. | Antoine Pitrou | 2013-04-15 | 1 | -1/+1 |
| | |||||
* | Issue #12848: The pure Python pickle implementation now treats object ↵ | Antoine Pitrou | 2012-11-24 | 1 | -13/+26 |
|\ | | | | | | | | | | | lengths as unsigned 32-bit integers, like the C implementation does. Patch by Serhiy Storchaka. | ||||
| * | Issue #12848: The pure Python pickle implementation now treats object ↵ | Antoine Pitrou | 2012-11-24 | 1 | -13/+26 |
| | | | | | | | | | | | | lengths as unsigned 32-bit integers, like the C implementation does. Patch by Serhiy Storchaka. | ||||
* | | Fixes #13842: cannot pickle Ellipsis or NotImplemented. | Łukasz Langa | 2012-03-12 | 1 | -0/+8 |
| | | | | | | | | Thanks for James Sanders for the bug report and the patch. | ||||
* | | Issue #14166: Pickler objects now have an optional `dispatch_table` ↵ | Antoine Pitrou | 2012-03-04 | 1 | -2/+2 |
| | | | | | | | | | | | | attribute which allows to set custom per-pickler reduction functions. Patch by sbt. | ||||
* | | Merge 3.2 | Alexandre Vassalotti | 2011-12-13 | 1 | -1/+5 |
|\ \ | |/ | |||||
| * | Issue #13505: Make pickling of bytes object compatible with Python 2. | Alexandre Vassalotti | 2011-12-13 | 1 | -1/+5 |
| | | | | | | | | Initial patch by sbt. | ||||
* | | Issue #13575: there is only one class type. | Florent Xicluna | 2011-12-12 | 1 | -1/+1 |
| | | |||||
* | | Remove redundant imports. | Florent Xicluna | 2011-11-04 | 1 | -1/+1 |
| | | |||||
* | | Merge 3.2 | Florent Xicluna | 2011-10-28 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Closes #13258: Use callable() built-in in the standard library. | Florent Xicluna | 2011-10-28 | 1 | -1/+1 |
| | | |||||
* | | Issue #7689: Allow pickling of dynamically created classes when their | Antoine Pitrou | 2011-10-04 | 1 | -9/+9 |
|\ \ | |/ | | | | | | | metaclass is registered with copyreg. Patch by Nicolas M. Thiéry and Craig Citro. | ||||
| * | Issue #7689: Allow pickling of dynamically created classes when their | Antoine Pitrou | 2011-10-04 | 1 | -9/+9 |
| | | | | | | | | | | metaclass is registered with copyreg. Patch by Nicolas M. Thiéry and Craig Citro. | ||||
* | | Issue #12847: Fix a crash with negative PUT and LONG_BINPUT arguments in | Antoine Pitrou | 2011-08-29 | 1 | -0/+6 |
|\ \ | |/ | | | | | the C pickle implementation. | ||||
| * | Issue #12847: Fix a crash with negative PUT and LONG_BINPUT arguments in | Antoine Pitrou | 2011-08-29 | 1 | -0/+6 |
| | | | | | | | | the C pickle implementation. | ||||
* | | remove __version__s dependent on subversion keyword expansion (closes #12221) | Benjamin Peterson | 2011-06-01 | 1 | -2/+0 |
|/ | |||||
* | Issue #9410: Various optimizations to the pickle module, leading to | Antoine Pitrou | 2010-09-09 | 1 | -6/+6 |
| | | | | | speedups up to 4x (depending on the benchmark). Mostly ported from Unladen Swallow; initial patch by Alexandre Vassalotti. | ||||
* | Issue #9378: python -m pickle <pickle file> will now load and display | Alexander Belopolsky | 2010-07-27 | 1 | -1/+23 |
| | | | | the first object in the pickle file. | ||||
* | Issue #5180: Fixed a bug that prevented loading 2.x pickles in 3.x | Alexander Belopolsky | 2010-07-17 | 1 | -16/+5 |
| | | | | python when they contain instances of old-style classes. | ||||
* | Issue #8383: pickle and pickletools use surrogatepass error handler when | Victor Stinner | 2010-04-13 | 1 | -2/+2 |
| | | | | | encoding unicode as utf8 to support lone surrogates and stay compatible with Python 2.x and 3.0 | ||||
* | Simplified long coding in pickle.py. | Alexandre Vassalotti | 2010-01-12 | 1 | -51/+7 |
| | |||||
* | Issue #6137: The pickle module now translates module names when loading | Antoine Pitrou | 2009-06-04 | 1 | -16/+40 |
| | | | | | | 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. | ||||
* | Only try to intern str objects when unpickling attributes. | Alexandre Vassalotti | 2009-05-25 | 1 | -8/+6 |
| | | | | This matches the behaviour implmented in _pickle. | ||||
* | Merged revisions 72223 via svnmerge from | Antoine Pitrou | 2009-05-02 | 1 | -1/+9 |
| | | | | | | | | | | | | 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. ........ | ||||
* | Issue #4842, patch 1/2: fix pickle in Python 3.x so that pickling with the | Mark Dickinson | 2009-01-20 | 1 | -1/+3 |
| | | | | | | 'L' opcode always appends an 'L' on output, just as 2.x does. When unpickling, remove the trailing 'L' (if present) before passing the result to PyLong_FromString. | ||||
* | fix typo #4904 | Benjamin Peterson | 2009-01-10 | 1 | -1/+1 |
| | |||||
* | Fix issue #4374: Pickle tests fail w/o _pickle extension. | Alexandre Vassalotti | 2008-12-27 | 1 | -0/+10 |
| | | | | Add an initialization check to mimic the interface of _pickle. | ||||
* | Sorry, r67092 is commit miss.... | Hirokazu Yamamoto | 2008-11-04 | 1 | -13/+0 |
| | |||||
* | Blocked revisions 67002 via svnmerge | Hirokazu Yamamoto | 2008-11-04 | 1 | -0/+13 |
| | | | | | | | | ........ r67002 | hirokazu.yamamoto | 2008-10-23 09:37:33 +0900 | 1 line Issue #4183: Some tests didn't run with pickle.HIGHEST_PROTOCOL. ........ | ||||
* | Remove a confusing statement in Pickler's docstring. | Alexandre Vassalotti | 2008-10-25 | 1 | -2/+0 |
| | | | | Pickler does not read anything from the given file. | ||||
* | Restore _pickle module accelerator module. | Alexandre Vassalotti | 2008-06-12 | 1 | -83/+71 |
| | | | | | Removed Windows support temporarily. 64bit bug with integer unpickling is now fixed. | ||||
* | revert the addition of _pickle because it was causing havok with 64-bit | Benjamin Peterson | 2008-06-12 | 1 | -71/+83 |
| | |||||
* | Removed exception renaming cruft in pickle.py. | Alexandre Vassalotti | 2008-06-11 | 1 | -3/+0 |
| | |||||
* | Issue 2917: Merge the pickle and cPickle module. | Alexandre Vassalotti | 2008-06-11 | 1 | -83/+74 |
| | |||||
* | Change Pickler._batch_appends() and Pickler._batch_setitems() to take | Alexandre Vassalotti | 2008-05-14 | 1 | -2/+4 |
| | | | | an iterable object, instead of an iterator. | ||||
* | Rename copy_reg module to copyreg. | Alexandre Vassalotti | 2008-05-11 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | Updated documentation. Merged revisions 63042 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r63042 | alexandre.vassalotti | 2008-05-11 04:25:28 -0400 (Sun, 11 May 2008) | 5 lines Added module stub for copy_reg renaming in 3.0. Renamed copy_reg to copyreg in the standard library, to avoid spurious warnings and ease later merging to py3k branch. Public documentation remains intact. ........ | ||||
* | Removed memoryview objects from bytes_types. | Alexandre Vassalotti | 2008-05-03 | 1 | -1/+1 |
| | | | | | | memoryview objects have a different API (such as for indexing) than bytes and bytesarray objects, so memoryview objects shouldn't be treated blindly as "bytes" objects. | ||||
* | - A new pickle protocol (protocol 3) is added with explicit support | Guido van Rossum | 2008-03-17 | 1 | -19/+45 |
| | | | | | | | | | | | | | for bytes. This is the default protocol. It intentionally cannot be unpickled by Python 2.x. - When a pickle written by Python 2.x contains an (8-bit) str instance, this is now decoded to a (Unicode) str instance. The encoding used to do this defaults to ASCII, but can be overridden via two new keyword arguments to the Unpickler class. Previously this would create bytes instances, which is usually wrong: str instances are often used to pickle attribute names etc., and text is more common than binary data anyway. | ||||
* | Rename buffer -> bytearray. | Guido van Rossum | 2007-11-21 | 1 | -1/+1 |
| | |||||
* | Merging the py3k-pep3137 branch back into the py3k branch. | Guido van Rossum | 2007-11-06 | 1 | -14/+18 |
| | | | | | | | | | | | | | | No detailed change log; just check out the change log for the py3k-pep3137 branch. The most obvious changes: - str8 renamed to bytes (PyString at the C level); - bytes renamed to buffer (PyBytes at the C level); - PyString and PyUnicode are no longer compatible. I.e. we now have an immutable bytes type and a mutable bytes type. The behavior of PyString was modified quite a bit, to make it more bytes-like. Some changes are still on the to-do list. | ||||
* | Patch# 1258 by Christian Heimes: kill basestring. | Guido van Rossum | 2007-10-16 | 1 | -1/+1 |
| | | | | I like this because it makes the code shorter! :-) | ||||
* | Random changes having to do with readline() and bytes. | Guido van Rossum | 2007-10-10 | 1 | -25/+14 |
| | |||||
* | More str/bytes fixes. | Guido van Rossum | 2007-08-27 | 1 | -6/+6 |
| | |||||
* | Changes in anticipation of stricter str vs. bytes enforcement. | Guido van Rossum | 2007-08-27 | 1 | -8/+9 |
| | |||||
* | Getting rid of cPickle. Mmm, feels good! | Guido van Rossum | 2007-07-20 | 1 | -6/+7 |
| | |||||
* | Fix test_pickle, by reverting the string opcodes (S, T, U) to returning | Guido van Rossum | 2007-07-19 | 1 | -17/+3 |
| | | | | | | | | strings, in Latin-1. Bytes are once more pickled through bytes.__reduce__, but now it returns "latin-1" as the second parameter. Unfortunately this breaks datetime pickling. I'll have to investigate further; reverting Martin's changes doesn't seem to help. | ||||
* | Change Py_BuildValue to generate Unicode objects for | Martin v. Löwis | 2007-07-18 | 1 | -3/+17 |
| | | | | | | | | 's' and 'c' codes. Change pickle to dump bytes objects using the 'S' code, and to load the 'S' code as byte objects. Change datetime and array to generate and expect bytes objects in reduce/unreduce. | ||||
* | Fix some problems introduced by the str8 repr change. | Guido van Rossum | 2007-06-15 | 1 | -1/+2 |
| |