summaryrefslogtreecommitdiffstats
path: root/Modules/_pickle.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #29190: Fixed possible errors in comparing strings in the pickle module.Serhiy Storchaka2017-01-091-12/+6
|
* Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵Serhiy Storchaka2016-11-161-1/+1
| | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions.
* Issue #17711: Fixed unpickling by the persistent ID with protocol 0.Serhiy Storchaka2016-07-171-12/+22
| | | | Original patch by Alexandre Vassalotti.
* Issue #27332: Fixed the type of the first argument of module-level functionsSerhiy Storchaka2016-07-071-8/+8
| | | | generated by Argument Clinic. Patch by Petr Viktorin.
* Issue #27125: Remove duplicated words from documentation and commentsMartin Panter2016-05-301-1/+1
|
* Issue #27076: Doc, comment and tests spelling fixesMartin Panter2016-05-261-6/+6
| | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-171-1/+1
|
* Correct “an” → “a” with “Unicode”, “user”, “UTF”, etcMartin Panter2016-04-151-1/+1
| | | | This affects documentation, code comments, and a debugging messages.
* Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka2016-04-061-2/+2
|
* _pickle: Fix load_counted_tuple(), use Py_ssize_t for sizeVictor Stinner2016-03-141-1/+1
| | | | Fix a warning on Windows 64-bit.
* Issue #20440: Applied yet one patch for using Py_SETREF.Serhiy Storchaka2015-12-271-5/+3
| | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR.
* 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.
* 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 #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 #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 #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.