summaryrefslogtreecommitdiffstats
path: root/Modules/_pickle.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-7/+7
| | | | error messages and comments.
* Issue #18559: Fix NULL pointer dereference error in _pickle moduleChristian Heimes2013-07-261-4/+6
|
* Singular form just like the other error message.Christian Heimes2013-07-011-1/+1
|
* Issue #18339: Negative ints keys in unpickler.memo dict no longer cause aChristian Heimes2013-07-011-0/+5
| | | | segfault inside the _pickle C extension.
* Fix reference leak in _pickle.Alexandre Vassalotti2013-04-211-0/+2
|
* Issue #17710: Fix pickle raising a SystemError on bogus input.Antoine Pitrou2013-04-151-4/+4
|
* Clean up error messages raised by save_reduce in _pickle.Alexandre Vassalotti2013-04-141-2/+2
|
* Issue #17193: Use binary prefixes (KiB, MiB, GiB) for memory units.Serhiy Storchaka2013-02-161-2/+2
|
* Issue #12848: The pure Python pickle implementation now treats object ↵Antoine Pitrou2012-11-241-1/+1
|\ | | | | | | | | | | 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 Pitrou2012-11-241-1/+1
| | | | | | | | | | | | lengths as unsigned 32-bit integers, like the C implementation does. Patch by Serhiy Storchaka.
* | 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
|/ /