Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-27880: Fixed integer overflow in cPickle when pickle large strings or (#662) | Serhiy Storchaka | 2017-03-14 | 1 | -10/+26 |
| | | | too many objects. | ||||
* | Issue #28925: cPickle now correctly propagates errors when unpickle instances | Serhiy Storchaka | 2016-12-15 | 1 | -35/+5 |
| | | | | of old-style classes. | ||||
* | Issue #28139: Fix messed up indentation | Martin Panter | 2016-09-17 | 1 | -55/+55 |
| | | | | | Also update the classmethod and staticmethod doc strings and comments to match the RST documentation. | ||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
| | |||||
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -8/+8 |
| | |||||
* | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 1 | -16/+8 |
| | | | | macro Py_SETREF. | ||||
* | Fixed reference leak when read truncated pickle. | Serhiy Storchaka | 2015-11-30 | 1 | -1/+4 |
| | |||||
* | Issue #25725: Fixed a reference leak in cPickle.loads() when unpickling | Serhiy Storchaka | 2015-11-25 | 1 | -19/+10 |
| | | | | invalid data including tuple instructions. | ||||
* | Issue #23914: Fixed SystemError raised by unpickler on broken pickle data. | Serhiy Storchaka | 2015-11-23 | 1 | -2/+22 |
| | |||||
* | Issue #892902: Fixed pickling recursive objects. | Serhiy Storchaka | 2015-11-07 | 1 | -0/+21 |
| | |||||
* | Don't left shift negative values. Use an unsigned value instead to avoid | Gregory P. Smith | 2015-08-04 | 1 | -1/+1 |
| | | | | undefined behavior. | ||||
* | possible memory leak in error case (closes #24719) | Benjamin Peterson | 2015-07-25 | 1 | -1/+1 |
| | | | | Patch by Pankaj Sharma. | ||||
* | Issue #20437: Fixed 43 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -2/+1 |
| | |||||
* | Issue #6477: Revert fbb97f6eb3b3 as it broke test_xpickle. | Alexandre Vassalotti | 2013-12-01 | 1 | -63/+1 |
| | |||||
* | Issue #6477: Added pickling support for singletons and their types. | Alexandre Vassalotti | 2013-12-01 | 1 | -1/+63 |
| | |||||
* | Issue #17710: Fix cPickle raising a SystemError on bogus input. | Antoine Pitrou | 2013-04-15 | 1 | -4/+6 |
| | |||||
* | Issue #13555: Fix an integer overflow check. | Serhiy Storchaka | 2013-02-26 | 1 | -1/+1 |
| | |||||
* | Issue #13555: cPickle now supports files larger than 2 GiB. | Serhiy Storchaka | 2013-02-12 | 1 | -118/+152 |
| | |||||
* | Issue #7689: Allow pickling of dynamically created classes when their | Antoine Pitrou | 2011-10-04 | 1 | -5/+5 |
| | | | | | metaclass is registered with copyreg. Patch by Nicolas M. Thiéry and Craig Citro. | ||||
* | Untabify C files. Will watch buildbots. | Antoine Pitrou | 2010-05-09 | 1 | -4501/+4501 |
| | |||||
* | Remove a redundant string length check and variable assignment. | Brett Cannon | 2010-05-04 | 1 | -5/+1 |
| | | | | Found with Clang's static analyzer. | ||||
* | Issue #7092: Remove py3k warning when importing cPickle. 2to3 handles | Antoine Pitrou | 2010-01-08 | 1 | -6/+0 |
| | | | | | | renaming of `cPickle` to `pickle`. The warning was annoying since there's no alternative to cPickle if you care about performance. Patch by Florent Xicluna. | ||||
* | Issue #7455: Fix possible crash in cPickle on invalid input. Patch by | Antoine Pitrou | 2010-01-07 | 1 | -1/+1 |
| | | | | Florent Xicluna. | ||||
* | Issue 7128: Removed reference to the non-existent copyreg module. | Alexandre Vassalotti | 2009-11-24 | 1 | -3/+2 |
| | | | | | | | | | The reference to copyreg was a unnoticed leftover from the compatibility support for the grand renaming of the standard library in Python 3. The compatibility support was reverted in r63493, but not completely as this patch shows. Based on a patch by Amaury Forgeot d'Arc. | ||||
* | Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in cPickle ↵ | Eric Smith | 2009-10-27 | 1 | -4/+4 |
| | | | | as part of short float repr. | ||||
* | Continue removing _PyOS_double_to_string, as mentioned in issue 7117. | Eric Smith | 2009-10-26 | 1 | -8/+22 |
| | |||||
* | Make cPickle.Unpickler.noload() handle dict subclasses. noload() is | Neil Schemenauer | 2009-10-14 | 1 | -4/+31 |
| | | | | | an obscure, undocumentated feature so no test was added. Closes issue #1101399. | ||||
* | #6553: crash in cPickle.load(), when given a StringIO with incomplete data. | Amaury Forgeot d'Arc | 2009-07-23 | 1 | -0/+6 |
| | | | | Will backport to 2.6, 3.x already fixed a similar issue with issue4298. | ||||
* | Issue 5794: fix cPickle's unpickling of recursive tuples. | Collin Winter | 2009-05-26 | 1 | -10/+9 |
| | |||||
* | Issue 5670: special-case pickling of dicts. This nearly doubles the ↵ | Collin Winter | 2009-05-25 | 1 | -9/+78 |
| | | | | performance of dict pickling in cPickle. | ||||
* | Isue #5084: unpickling now interns the attribute names of pickled objects, | Antoine Pitrou | 2009-05-02 | 1 | -1/+9 |
| | | | | | saving memory and avoiding growth in size of subsequent pickles. Proposal and original patch by Jake McGuire. | ||||
* | Issue #5835, deprecate PyOS_ascii_formatd. | Eric Smith | 2009-04-25 | 1 | -1/+2 |
| | | | | | | If anyone wants to clean up the documentation, feel free. It's my first documentation foray, and it's not that great. Will port to py3k with a different strategy. | ||||
* | Issue #1672332: Fix unpickling of subnormal floats, which was raising | Mark Dickinson | 2009-01-24 | 1 | -1/+2 |
| | | | | | ValueError on some platforms as a result of the platform strtod setting errno on underflow. | ||||
* | Issue #4051: Prevent conflict of UNICODE macros in cPickle. | Martin v. Löwis | 2009-01-02 | 1 | -0/+8 |
| | |||||
* | Fix issue #4730: cPickle corrupts high-unicode strings. | Alexandre Vassalotti | 2008-12-27 | 1 | -30/+79 |
| | | | | | Update outdated copy of PyUnicode_EncodeRawUnicodeEscape. Add a test case. | ||||
* | Issue #4176: Pickle would crash the interpreter when a __reduce__ function | Amaury Forgeot d'Arc | 2008-10-30 | 1 | -26/+33 |
| | | | | | | | | | does not return an iterator for the 4th and 5th items. (sequence-like and mapping-like state) A list is not an iterator... Will backport to 2.6 and 2.5. | ||||
* | #3640: Correct a crash in cPickle on 64bit platforms, in the case of deeply ↵ | Amaury Forgeot d'Arc | 2008-09-11 | 1 | -64/+117 |
| | | | | | | nested lists or dicts. Reviewed by Martin von Loewis. | ||||
* | Fix #2702, with a correct accounting of recursion. | Facundo Batista | 2008-06-30 | 1 | -10/+14 |
| | |||||
* | Reverting the patch from #3165, as it broke other | Facundo Batista | 2008-06-25 | 1 | -4/+0 |
| | | | | | | | | | behaviours. I left the original test commented out (note that that test came from #2702, which seems to have a problem in FreeBSD and Windows, but not in Linux). I included a new test, to watch over the now-broken behaviour, I took it from #3179. | ||||
* | Fix compilation on Windows. | Thomas Heller | 2008-06-23 | 1 | -2/+4 |
| | |||||
* | Fixing the problem stated in issue 2702 with the patch submitted | Facundo Batista | 2008-06-22 | 1 | -0/+2 |
| | | | | | in the issue 3165. Now cPickle does not fails with uncontrolled behaviour when pickling into a very deep nested structure. | ||||
* | Issue 3164. Small fix to don't repeat a comparation | Facundo Batista | 2008-06-22 | 1 | -0/+2 |
| | | | | without necessity. | ||||
* | Merge in release25-maint r60793: | Gregory P. Smith | 2008-06-11 | 1 | -0/+16 |
| | | | | | | Added checks for integer overflows, contributed by Google. Some are only available if asserts are left in the code, in cases where they can't be triggered from Python code. | ||||
* | This reverts r63675 based on the discussion in this thread: | Gregory P. Smith | 2008-06-09 | 1 | -64/+64 |
| | | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread. | ||||
* | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 1 | -64/+64 |
| | |||||
* | Revert copy_reg -> copyreg rename. | Georg Brandl | 2008-05-20 | 1 | -7/+7 |
| | |||||
* | Added Python 3.0 warning to cPickle. | Alexandre Vassalotti | 2008-05-16 | 1 | -0/+6 |
| | |||||
* | Added module stub for copy_reg renaming in 3.0. | Alexandre Vassalotti | 2008-05-11 | 1 | -16/+16 |
| | | | | | | Renamed copy_reg to copyreg in the standard library, to avoid spurious warnings and ease later merging to py3k branch. Public documentation remains intact. | ||||
* | Use the new PyFile_IncUseCount & PyFile_DecUseCount calls appropriatly | Gregory P. Smith | 2008-04-07 | 1 | -0/+4 |
| | | | | | within the standard library. These modules use PyFile_AsFile and later release the GIL while operating on the previously returned FILE*. | ||||
* | #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and ↵ | Christian Heimes | 2007-12-19 | 1 | -11/+11 |
| | | | | Py_REFCNT. Macros for b/w compatibility are available. |