summaryrefslogtreecommitdiffstats
path: root/Modules/_pickle.c
Commit message (Collapse)AuthorAgeFilesLines
...
| | * 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
| |
* | Issue #20189: Four additional builtin types (PyTypeObject,Larry Hastings2014-01-241-48/+48
| | | | | | | | | | | | PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes.
* | Two minor Argument Clinic bugfixes: use the name of the class in theLarry Hastings2014-01-221-4/+4
| | | | | | | | | | docstring for __new__ and __init__, and always use "goto exit" instead of returning "NULL" for failure to parse (as _new__ and __init__ return ints).
* | Issue #20294: Argument Clinic now supports argument parsing for __new__ andLarry Hastings2014-01-191-48/+26
| | | | | | | | __init__ functions.
* | Issue #20287: Argument Clinic's output is now configurable, allowingLarry Hastings2014-01-181-51/+19
| | | | | | | | delaying its output or even redirecting it to a separate file.
* | Issue #20228: Argument Clinic now has special support for class specialLarry Hastings2014-01-121-8/+2
| | | | | | | | methods.
* | Issue #19273: The marker comments Argument Clinic uses have been changedLarry Hastings2014-01-071-61/+61
| | | | | | | | to improve readability.
* | Issue #19976: Argument Clinic METH_NOARGS functions now alwaysLarry Hastings2014-01-041-18/+122
| | | | | | | | take two parameters.
* | Issue #19972: Add rarely used freefunc. This fixes a leak if sys.exit()Stefan Krah2013-12-141-8/+14
| | | | | | | | is used in a program.