summaryrefslogtreecommitdiffstats
path: root/Modules/_pickle.c
Commit message (Collapse)AuthorAgeFilesLines
* cleanup Ellipsis and NotImplemented strings after we're doneBenjamin Peterson2012-03-161-2/+8
|
* minor PEP7-related fixŁukasz Langa2012-03-121-2/+2
|
* #13842: check whether PyUnicode_FromString succeededŁukasz Langa2012-03-121-3/+8
|
* Fixes #13842: cannot pickle Ellipsis or NotImplemented.Łukasz Langa2012-03-121-0/+21
| | | | Thanks for James Sanders for the bug report and the patch.
* Issue #14166: Pickler objects now have an optional `dispatch_table` ↵Antoine Pitrou2012-03-041-9/+30
| | | | | | attribute which allows to set custom per-pickler reduction functions. Patch by sbt.
* Merge 3.2Alexandre Vassalotti2011-12-131-13/+45
|\
| * Issue #13505: Make pickling of bytes object compatible with Python 2.Alexandre Vassalotti2011-12-131-13/+45
| | | | | | | | Initial patch by sbt.
* | Port SetAttrString/HasAttrString to SetAttrId/GetAttrId.Martin v. Löwis2011-10-141-3/+4
| |
* | Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis2011-10-141-12/+12
| |
* | Issue #13088: Add shared Py_hexdigits constant to format a number into base 16Victor Stinner2011-10-141-13/+12
| |
* | Use identifier API for PyObject_GetAttrString.Martin v. Löwis2011-10-101-12/+22
| |
* | Add API for static strings, primarily good for identifiers.Martin v. Löwis2011-10-091-4/+10
| | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
* | Issue #7689: Allow pickling of dynamically created classes when theirAntoine Pitrou2011-10-041-4/+4
|\ \ | |/ | | | | | | metaclass is registered with copyreg. Patch by Nicolas M. Thiéry and Craig Citro.
| * Issue #7689: Allow pickling of dynamically created classes when theirAntoine Pitrou2011-10-041-4/+4
| | | | | | | | | | metaclass is registered with copyreg. Patch by Nicolas M. Thiéry and Craig Citro.
* | raw_unicode_escape() uses the new Unicode APIVictor Stinner2011-09-291-46/+21
| |
* | Strip trailing spaces of _pickle.cVictor Stinner2011-09-291-17/+17
| |
* | Implement PEP 393.Martin v. Löwis2011-09-281-3/+1
| |
* | merge 3.2Benjamin Peterson2011-09-231-6/+5
|\ \ | |/
| * fix compiler compliant about \0 not being an opcodeBenjamin Peterson2011-09-231-6/+5
| |
* | Issue #12847: Fix a crash with negative PUT and LONG_BINPUT arguments inAntoine Pitrou2011-08-291-1/+10
|\ \ | |/ | | | | the C pickle implementation.
| * Issue #12847: Fix a crash with negative PUT and LONG_BINPUT arguments inAntoine Pitrou2011-08-291-1/+10
| | | | | | | | the C pickle implementation.
* | Issue #11564: Avoid crashes when trying to pickle huge objects or containersAntoine Pitrou2011-08-291-72/+103
|\ \ | |/ | | | | (more than 2**31 items). Instead, in most cases, an OverflowError is raised.
| * Issue #11564: Avoid crashes when trying to pickle huge objects or containersAntoine Pitrou2011-08-291-72/+103
| | | | | | | | (more than 2**31 items). Instead, in most cases, an OverflowError is raised.
* | Followup to 8e824e09924a: fix regression on 32-bit buildsAntoine Pitrou2011-08-131-2/+5
| |
* | Issue #12744: Fix inefficient representation of integersAntoine Pitrou2011-08-131-1/+1
| | | | | | | | between 2**31 and 2**63 on systems with a 64-bit C "long".
* | Issue #12687: Fix a possible buffering bug when unpickling text mode ↵Antoine Pitrou2011-08-111-2/+1
|\ \ | |/ | | | | (protocol 0, mostly) pickles.
| * Issue #12687: Fix a possible buffering bug when unpickling text mode ↵Antoine Pitrou2011-08-111-2/+1
| | | | | | | | (protocol 0, mostly) pickles.
* | Issue #11321: Fix a crash with multiple imports of the _pickle module whenAntoine Pitrou2011-07-151-0/+2
|\ \ | |/ | | | | embedding Python. Patch by Andreas Stührk.
| * Issue #11321: Fix a crash with multiple imports of the _pickle module whenAntoine Pitrou2011-07-151-0/+2
| | | | | | | | embedding Python. Patch by Andreas Stührk.
* | #11565: Merge with 3.2.Ezio Melotti2011-03-161-1/+1
|\ \ | |/
| * #11565: Merge with 3.1.Ezio Melotti2011-03-161-1/+1
| |\
| | * #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-1/+1
| | |
| | * Merged revisions 88147 via svnmerge fromAntoine Pitrou2011-01-231-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88147 | antoine.pitrou | 2011-01-23 18:12:25 +0100 (dim., 23 janv. 2011) | 3 lines Issue #10987: Fix the recursion limit handling in the _pickle module. ........
| | * Merged revisions 84502 via svnmerge fromAntoine Pitrou2010-09-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84502 | antoine.pitrou | 2010-09-04 20:45:37 +0200 (sam., 04 sept. 2010) | 3 lines Fix typos in error messages (thanks Arfrever). ........
| | * Merged revisions 82937 via svnmerge fromAlexander Belopolsky2010-07-171-24/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82937 | alexander.belopolsky | 2010-07-17 18:50:45 -0400 (Sat, 17 Jul 2010) | 3 lines Issue #5180: Fixed a bug that prevented loading 2.x pickles in 3.x python when they contain instances of old-style classes. ........
| | * Merged revisions 80031 via svnmerge fromVictor Stinner2010-04-131-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r80031 | victor.stinner | 2010-04-13 13:07:24 +0200 (mar., 13 avril 2010) | 4 lines Issue #8383: pickle and pickletools use surrogatepass error handler when encoding unicode as utf8 to support lone surrogates and stay compatible with Python 2.x and 3.0 ........
| | * Merged revisions 77355 via svnmerge fromAntoine Pitrou2010-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r77355 | antoine.pitrou | 2010-01-07 18:57:31 +0100 (jeu., 07 janv. 2010) | 18 lines Merged revisions 77352-77354 via svnmerge from 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! ........ ................
| * | Merged revisions 88546 via svnmerge fromAlexander Belopolsky2011-02-241-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. ........
* | | Issue #9935: Speed up pickling of instances of user-defined classes.Antoine Pitrou2011-03-111-17/+34
| | |
* | | Issue #11286: Fixed unpickling of empty 2.x strings.Alexander Belopolsky2011-02-241-5/+0
|/ /
* | Issue #10987: Fix the recursion limit handling in the _pickle module.Antoine Pitrou2011-01-231-12/+19
| |
* | Issue #10359: Remove useless comma, invalid in ISO CVictor Stinner2010-11-091-2/+2
| |
* | Revert r85797 (and r85798): it broke the Windows buildbots because ofAntoine Pitrou2010-10-221-34/+17
| | | | | | | | test_multiprocessing's misbehaviour.
* | Issue #9935: Speed up pickling of instances of user-defined classes.Antoine Pitrou2010-10-221-17/+34
| |
* | Remove more unneeded casts to hashfunc.Georg Brandl2010-10-181-2/+2
| |
* | make hashes always the size of pointers; introduce Py_hash_t #9778Benjamin Peterson2010-10-171-1/+1
| |
* | Issue #3873: Speed up unpickling from file objects which have a peek()Antoine Pitrou2010-10-121-24/+93
| | | | | | | | method.
* | Issue #9410: Various optimizations to the pickle module, leading toAntoine Pitrou2010-09-091-519/+1830
| | | | | | | | | | speedups up to 4x (depending on the benchmark). Mostly ported from Unladen Swallow; initial patch by Alexandre Vassalotti.
* | Fix typos in error messages (thanks Arfrever).Antoine Pitrou2010-09-041-2/+2
| |
* | Issue #5180: Fixed a bug that prevented loading 2.x pickles in 3.xAlexander Belopolsky2010-07-171-24/+14
| | | | | | | | python when they contain instances of old-style classes.