summaryrefslogtreecommitdiff
path: root/Modules/cPickle.c
AgeCommit message (Expand)AuthorLines
2008-03-02Backport of r61180:Martin v. Löwis-0/+16
2003-07-11The Unpickler forget about its find_class attribute.Jeremy Hylton-0/+3
2003-06-16Remove many blanket try/except clauses.Jeremy Hylton-11/+40
2003-05-21PyType_Ready(): Complain if the type is a base type, and gc'able, andTim Peters-2/+7
2003-04-09Make Unpickler objects colletable.Jeremy Hylton-23/+65
2003-04-09Make Picklers collectable.Jeremy Hylton-5/+45
2003-03-20New private API functions _PyFloat_{Pack,Unpack}(4,8}. This is aTim Peters-154/+9
2003-03-20SF bug 705836: struct.pack of floats in non-native endian orderTim Peters-6/+24
2003-02-19Use __reduce_ex__.Guido van Rossum-45/+36
2003-02-18save_global(): Trying to resolve module.name can fail for twoTim Peters-3/+5
2003-02-15Make 2 module variables static. Assuming this is correct.Neal Norwitz-2/+2
2003-02-15cPickle.c, load_build(): Taught cPickle how to pick apartTim Peters-21/+71
2003-02-14cPickle produces NEWOBJ appropriately now. It still doesn't knowTim Peters-67/+193
2003-02-13Minor assorted cleanups; no semantic changes.Tim Peters-10/+16
2003-02-13The version of PyImport_Import() in cPickle is no longer needed (an editedTim Peters-64/+0
2003-02-13save(): Reformat tail end just for clarity.Tim Peters-16/+17
2003-02-13Taught cPickle how to read pickles containing NEWOBJ. This won't getTim Peters-1/+75
2003-02-13Added a HIGHEST_PROTOCOL module attribute to pickle and cPickle.Tim Peters-5/+9
2003-02-12Minor cleanup of new batch-list/dict code.Tim Peters-16/+12
2003-02-11Implemented batching for dicts in cPickle. This is after two failedTim Peters-30/+119
2003-02-11Implemented list batching in cPickle.Tim Peters-30/+103
2003-02-05More typo repair.Tim Peters-1/+1
2003-02-05Typo repair.Tim Peters-4/+4
2003-02-04cPickle: exempt two_tuple from GC -- it's a speed hack, and doesn'tTim Peters-1/+6
2003-02-04cPickle now generates proto 2 EXT[124] when appropriate.Tim Peters-2/+67
2003-02-04Typo in comment.Tim Peters-1/+1
2003-02-04cPickle can load pickles using proto 2 EXT[124] now, but can't yetTim Peters-0/+108
2003-02-04Rename the extension registry variables to have leading underscores --Guido van Rossum-6/+6
2003-02-04Typo repair.Tim Peters-1/+1
2003-02-04Brought some module variables into synch with pickle.py's current values.Tim Peters-16/+47
2003-02-03load_counted_long(): Changed a ValueError to an UnpicklingError, justTim Peters-15/+1
2003-02-03PDATA_PUSH and PDATA_APPEND. documented, and reformatted for betterTim Peters-30/+38
2003-02-02cPickle support for TUPLE[123]. Incidentally plugged several undetectedTim Peters-84/+210
2003-02-02Massive edits. If p is a pointer to a struct, and p->f is a pointer toTim Peters-89/+93
2003-02-02Minor cleanup, mostly adding horizontal whitespace, and breaking apartTim Peters-31/+30
2003-02-02Implemented proto 2 NEWTRUE and NEWFALSE in cPickle.Tim Peters-2/+34
2003-02-02Beefed up the tests by putting in more "for proto in protocols:" outerTim Peters-0/+5
2003-02-02Fix compiler warningNeal Norwitz-1/+1
2003-02-02dump(): Added asserts that self->proto is sane.Tim Peters-1/+2
2003-02-02dump(): Fixed a stupid bug in new code. It wasn't possible for the bugTim Peters-1/+1
2003-02-02Add cPickle support for PROTO. Duplicated PROTO/LONG1/LONG4 code inTim Peters-2/+56
2003-02-02cPickle.c: Full support for the new LONG1 and LONG4. Added comments.Tim Peters-21/+161
2003-02-01The C pickle now knows how to deal with a proto= argument. AssortedTim Peters-45/+86
2003-02-01Removed needless include of errno.h.Tim Peters-4/+0
2003-02-01The module docstring had an RCS ID from 1999 embedded in it. EnoughTim Peters-3/+1
2003-02-01Trimmed trailing whitespace.Tim Peters-223/+223
2003-02-01Added #defines for proto 2 opcodes; gave the Pickler a proto member;Tim Peters-16/+30
2003-02-01Removed all uses of the out-of-favor __safe_for_unpickling__ magicTim Peters-46/+5
2003-01-31Ignore the state returned by __reduce__ if it is Py_None.Guido van Rossum-0/+2
2003-01-06Patch #661760: Cygwin auto-import module patchJason Tishler-4/+2