Commit Graph

96 Commits

Author SHA1 Message Date
Serhiy Storchaka
2d80fb3905 Issue #26486: Removed pickle test that doesn't work in 2.7 on 64-bit platform. 2016-03-08 11:04:22 +02:00
Serhiy Storchaka
7c033e60df Issue #26486: Backported some pickle tests from 3.x. 2016-03-06 09:05:47 +02:00
Serhiy Storchaka
ff41d456bc Make catched exceptions more specific and correct a comment. 2015-12-30 20:59:32 +02:00
Serhiy Storchaka
03f3c2fa5f Fixed yet one syntax error in test_xpickle in Python 2.5. 2015-11-29 20:18:27 +02:00
Serhiy Storchaka
81772f1ee2 Trying to fix test_xpickle with python 2.4 and 2.5. 2015-11-29 19:20:11 +02:00
Serhiy Storchaka
d26b66313e Got rid of "with" for compatibility test_xpickle with Python 2.5. 2015-11-29 16:13:51 +02:00
Serhiy Storchaka
bf19ce27c4 Issue #25761: Added more test cases for testing unpickling broken data.
Output raised exception at verbose level 2 (-vv).
2015-11-29 13:12:40 +02:00
Zachary Ware
916c7c7ae1 Issue #23914: Fix test_xpickle with python 2.4 and 2.5
Remove 'b' prefix from strings, remove unused import.
2015-11-27 01:21:51 -06:00
Serhiy Storchaka
5c137669e3 Issue #23914: Fixed SystemError raised by unpickler on broken pickle data. 2015-11-23 15:20:43 +02:00
Serhiy Storchaka
da87e45add Issue #892902: Fixed pickling recursive objects. 2015-11-07 11:15:32 +02:00
Serhiy Storchaka
f6eced52cc Removed the "b" string prefix to make test_xpickle compatible with Python 2.5. 2015-10-02 20:23:46 +03:00
Serhiy Storchaka
22afc506fb Backported additional unpickling tests from 3.x. 2015-09-29 15:51:40 +03:00
Serhiy Storchaka
4d2cf5587c Moved unpickling tests with prepickled data to separate class. 2015-09-29 15:36:28 +03:00
Alexandre Vassalotti
df9460f8dc Issue #6477: Revert fbb97f6eb3b3 as it broke test_xpickle. 2013-11-30 17:43:42 -08:00
Alexandre Vassalotti
a2934280e5 Issue #6477: Added pickling support for singletons and their types. 2013-11-30 16:52:03 -08:00
Alexandre Vassalotti
1d3a173326 Issue #16231: Allow false values other than None to be used as persistent IDs. 2013-11-30 13:24:13 -08:00
Antoine Pitrou
be92971b38 Issue #17710: Fix cPickle raising a SystemError on bogus input. 2013-04-15 21:35:25 +02:00
Benjamin Peterson
f3ad030a74 G -> M (closes #17533) 2013-03-30 15:30:28 -04:00
Benjamin Peterson
d627e122d7 fall back when an old test_support doesn't have various data and functions (closes #17533) 2013-03-30 10:36:31 -04:00
Ezio Melotti
a84ecc649b #17346: make sure pickle tests are run against all protocols. 2013-03-04 15:23:12 +02:00
Serhiy Storchaka
cdc7a91dde Issue #13555: cPickle now supports files larger than 2 GiB. 2013-02-12 21:36:47 +02:00
Ezio Melotti
030aa35a1b Silence a couple of warnings. 2011-11-06 18:50:32 +02:00
Antoine Pitrou
561a821e93 Issue #7689: Allow pickling of dynamically created classes when their
metaclass is registered with copyreg.  Patch by Nicolas M. ThiƩry and
Craig Citro.
2011-10-04 09:34:48 +02:00
Ezio Melotti
aa98058cc4 use assert[Not]In where appropriate 2010-01-23 23:04:36 +00:00
Antoine Pitrou
0d423b870b Issue #7455: Fix possible crash in cPickle on invalid input. Patch by
Florent Xicluna.
2010-01-07 17:46:49 +00:00