summaryrefslogtreecommitdiffstats
path: root/Modules/_pickle.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka2015-12-191-2/+2
| | | | | | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined.
* | Issue #25761: Fixed reference leak added in previous changeset (5c670af0100f).Serhiy Storchaka2015-12-071-0/+1
| |
* | Issue #25761: Improved detecting errors in broken pickle data.Serhiy Storchaka2015-12-061-42/+69
| |
* | Fixed reference leak when read truncated pickle.Serhiy Storchaka2015-11-301-1/+3
|\ \ | |/
| * Fixed reference leak when read truncated pickle.Serhiy Storchaka2015-11-301-1/+3
| |\
| | * Fixed reference leak when read truncated pickle.Serhiy Storchaka2015-11-301-1/+3
| | |
* | | Issue #25725: Fixed a reference leak in pickle.loads() when unpicklingSerhiy Storchaka2015-11-251-19/+8
|\ \ \ | |/ / | | | | | | invalid data including tuple instructions.
| * | Issue #25725: Fixed a reference leak in pickle.loads() when unpicklingSerhiy Storchaka2015-11-251-19/+8
| |\ \ | | |/ | | | | | | invalid data including tuple instructions.
| | * Issue #25725: Fixed a reference leak in pickle.loads() when unpicklingSerhiy Storchaka2015-11-251-19/+8
| | | | | | | | | | | | invalid data including tuple instructions.
* | | Issue #23914: Fixed SystemError raised by unpickler on broken pickle data.Serhiy Storchaka2015-11-231-3/+16
|\ \ \ | |/ /
| * | Issue #23914: Fixed SystemError raised by unpickler on broken pickle data.Serhiy Storchaka2015-11-231-3/+16
| |\ \ | | |/
| | * Issue #23914: Fixed SystemError raised by unpickler on broken pickle data.Serhiy Storchaka2015-11-231-3/+16
| | |
* | | Closes #25645: Fix a reference leak introduced by change bc5894a3a0e6 of theVictor Stinner2015-11-171-0/+1
| | | | | | | | | | | | issue #24164.
* | | Issue #25558: Use compile-time asserts.Serhiy Storchaka2015-11-071-1/+1
| | |
* | | Issue #25523: Merge a-to-an corrections from 3.5Martin Panter2015-11-021-8/+8
|\ \ \ | |/ /
| * | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5Martin Panter2015-11-021-8/+8
| |\ \ | | |/
| | * Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-8/+8
| | | | | | | | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
* | | Issue #25353: Optimize unicode escape and raw unicode escape encoders to useVictor Stinner2015-10-121-20/+24
| | | | | | | | | | | | the new _PyBytesWriter API.
* | | Issue #24164: Objects that need calling ``__new__`` with keyword arguments,Serhiy Storchaka2015-10-101-10/+68
|/ / | | | | | | can now be pickled using pickle protocols older than protocol version 4.
* | Issue #25262. Added support for BINBYTES8 opcode in Python implementation ofSerhiy Storchaka2015-09-291-2/+12
|\ \ | |/ | | | | | | unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8 opcodes no longer silently ignored on 32-bit platforms in C implementation.
| * Issue #25262. Added support for BINBYTES8 opcode in Python implementation ofSerhiy Storchaka2015-09-291-1/+11
| | | | | | | | | | unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8 opcodes no longer silently ignored on 32-bit platforms in C implementation.
* | merge 3.4 (#25245)Benjamin Peterson2015-09-271-0/+1
|\ \ | |/
| * initialize return value to NULL to avoid compiler compliants (closes #25245)Benjamin Peterson2015-09-271-0/+1
| |
* | merge 3.4Benjamin Peterson2015-09-261-0/+6
|\ \ | |/
| * prevent overflow in _Unpickler_ReadBenjamin Peterson2015-09-261-0/+6
| |
* | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl.Yury Selivanov2015-07-031-1/+1
| |
* | merge 3.4 (#24552)Benjamin Peterson2015-07-021-1/+1
|\ \ | |/
| * fix use after free (closes #24552)Benjamin Peterson2015-07-021-1/+1
| |
* | merge 3.4Benjamin Peterson2015-06-271-16/+10
|\ \ | |/
| * merge 3.3Benjamin Peterson2015-06-271-16/+10
| |\
| | * use safe allocation and reallocation macrosBenjamin Peterson2015-06-271-16/+10
| | |
* | | Issue #23944: Argument Clinic now wraps long impl prototypes at column 78.Larry Hastings2015-04-141-14/+23
| | |
* | | Issue #23501: Argumen Clinic now generates code into separate files by default.Serhiy Storchaka2015-04-031-2/+1
| | |
* | | Issue #23611: Serializing more "lookupable" objects (such as unbound methodsSerhiy Storchaka2015-03-311-47/+71
| | | | | | | | | | | | or nested classes) now are supported with pickle protocols < 4.
* | | Issue #18473: Fixed 2to3 and 3to2 compatible pickle mappings.Serhiy Storchaka2015-03-311-12/+14
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | Fixed ambigious reverse mappings. Added many new mappings. Import mapping is no longer applied to modules already mapped with full name mapping. Added tests for compatible pickling and unpickling and for consistency of _compat_pickle mappings.
| * | Issue #18473: Fixed 2to3 and 3to2 compatible pickle mappings.Serhiy Storchaka2015-03-311-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | Fixed ambigious reverse mappings. Added many new mappings. Import mapping is no longer applied to modules already mapped with full name mapping. Added tests for compatible pickling and unpickling and for consistency of _compat_pickle mappings.
* | | Issue #23096: Pickle representation of floats with protocol 0 now is the sameSerhiy Storchaka2015-02-151-1/+1
| | | | | | | | | | | | for both Python and C implementations.
* | | Issue #22783: Pickling now uses the NEWOBJ opcode instead of the NEWOBJ_EXSerhiy Storchaka2014-12-161-13/+12
| | | | | | | | | | | | opcode if possible.
* | | Issue #15513: Added a __sizeof__ implementation for pickle classes.Serhiy Storchaka2014-12-161-1/+57
|\ \ \ | |/ /
| * | Issue #15513: Added a __sizeof__ implementation for pickle classes.Serhiy Storchaka2014-12-161-1/+57
| | |
* | | Fix uninitialized variable after #22676.Antoine Pitrou2014-12-011-7/+17
| | |
* | | Issue #22676: Make the pickling of global objects which don't have a ↵Antoine Pitrou2014-10-231-36/+72
| | | | | | | | | | | | __module__ attribute less slow.
* | | Silenced some warnings about comparison between signed and unsigned integerSerhiy Storchaka2014-09-051-3/+3
| | | | | | | | | | | | expressions.
* | | Issue #22207: Fix "comparison between signed and unsigned integers" warning inVictor Stinner2014-08-171-2/+3
| | | | | | | | | | | | | | | test checking for integer overflow on Py_ssize_t type: cast explicitly to size_t.
* | | _pickle: Optimize raw_unicode_escape(), use directly a bytes object, don't useVictor Stinner2014-08-171-10/+9
| | | | | | | | | | | | a temporary bytearray object.
* | | Issue #22218: Fix "comparison between signed and unsigned integers" warnings inVictor Stinner2014-08-171-10/+11
|/ / | | | | | | Modules/_pickle.c.
* | Issue #20326: Argument Clinic now uses a simple, unique signature toLarry Hastings2014-01-281-17/+17
| | | | | | | | | | | | | | | | | | | | annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date).
* | Issue #20395: Extract generated clinic code in Modules/_pickle.c to separate ↵Serhiy Storchaka2014-01-271-479/+28
| | | | | | | | file.
* | silence compiler warning that 's' may be used uninitialized in the load ↵Christian Heimes2014-01-271-1/+1
| | | | | | | | function.
* | Issue #20390: Small fixes and improvements for Argument Clinic.Larry Hastings2014-01-261-41/+8
| |