Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-36785: PEP 574 implementation (GH-7076) | Antoine Pitrou | 2019-05-26 | 1 | -8/+9 |
| | |||||
* | bpo-31993: Do not allocate large temporary buffers in pickle dump. (#4353) | Olivier Grisel | 2018-01-06 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | The picklers do no longer allocate temporary memory when dumping large bytes and str objects into a file object. Instead the data is directly streamed into the underlying file object. Previously the C implementation would buffer all content and issue a single call to file.write() at the end of the dump. With protocol 4 this behavior has changed to issue one call to file.write() per frame. The Python pickler with protocol 4 now dumps each frame content as a memoryview to an IOBytes instance that is never reused and the memoryview is no longer released after the call to write. This makes it possible for the file object to delay access to the memoryview of previous frames without forcing any additional memory copy as was already possible with the C pickler. | ||||
* | bpo-32032: Test both implementations of module-level pickle API. (#4401) | Serhiy Storchaka | 2017-11-15 | 1 | -2/+1 |
| | |||||
* | Issue #23277: Remove unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 1 | -1/+0 |
| | |||||
* | Issue #23883: Add missing APIs to __all__; patch by Jacek Kołodziej | Martin Panter | 2015-11-14 | 1 | -0/+33 |
| | |||||
* | Issue #19858: pickletools.optimize() now aware of the MEMOIZE opcode, can | Serhiy Storchaka | 2014-12-16 | 1 | -0/+43 |
| | | | | | produce more compact result and no longer produces invalid output if input data contains MEMOIZE opcodes together with PUT or BINPUT opcodes. | ||||
* | Issue #19754: Make pickletools.optimize respect the frame size target. | Alexandre Vassalotti | 2013-12-02 | 1 | -2/+0 |
| | |||||
* | Selectively re-enable framing tests | Antoine Pitrou | 2013-11-24 | 1 | -0/+2 |
| | |||||
* | Issue #11286: Fixed unpickling of empty 2.x strings. | Alexander Belopolsky | 2011-02-24 | 1 | -2/+2 |
| | |||||
* | Issue #6137: The pickle module now translates module names when loading | Antoine Pitrou | 2009-06-04 | 1 | -0/+3 |
| | | | | | | or dumping pickles with a 2.x-compatible protocol, in order to make data sharing and migration easier. This behaviour can be disabled using the new `fix_imports` optional argument. | ||||
* | Restore _pickle module accelerator module. | Alexandre Vassalotti | 2008-06-12 | 1 | -2/+0 |
| | | | | | Removed Windows support temporarily. 64bit bug with integer unpickling is now fixed. | ||||
* | revert the addition of _pickle because it was causing havok with 64-bit | Benjamin Peterson | 2008-06-12 | 1 | -0/+2 |
| | |||||
* | Issue 2917: Merge the pickle and cPickle module. | Alexandre Vassalotti | 2008-06-11 | 1 | -2/+0 |
| | |||||
* | #2621 rename test.test_support to test.support | Benjamin Peterson | 2008-05-20 | 1 | -3/+3 |
| | |||||
* | - A new pickle protocol (protocol 3) is added with explicit support | Guido van Rossum | 2008-03-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | for bytes. This is the default protocol. It intentionally cannot be unpickled by Python 2.x. - When a pickle written by Python 2.x contains an (8-bit) str instance, this is now decoded to a (Unicode) str instance. The encoding used to do this defaults to ASCII, but can be overridden via two new keyword arguments to the Unpickler class. Previously this would create bytes instances, which is usually wrong: str instances are often used to pickle attribute names etc., and text is more common than binary data anyway. | ||||
* | Merged revisions ↵ | Christian Heimes | 2008-02-11 | 1 | -1/+22 |
| | | | | | | | | | | | | | | | | | | | | 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60700,60705-60706,60708,60711,60714,60720,60724-60734 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r60731 | raymond.hettinger | 2008-02-11 19:51:08 +0100 (Mon, 11 Feb 2008) | 1 line No need to register classes that already inherit from ABCs. ........ r60733 | lars.gustaebel | 2008-02-11 20:17:10 +0100 (Mon, 11 Feb 2008) | 2 lines Make sure that xstar headers are read correctly. ........ r60734 | raymond.hettinger | 2008-02-11 21:05:53 +0100 (Mon, 11 Feb 2008) | 1 line Add tests for pickletools.optimize(). ........ | ||||
* | Moving pickletools.py from the sandbox into the std library. I started | Tim Peters | 2003-01-27 | 1 | -0/+3 |
this over the weekend, and it made faster & better progress than I expected -- it's already useful <wink>. |