- 29 Jan, 2003 9 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
TempAbstractPickleTests, because they don't work with cPickle yet.
-
Fred Drake authored
more, to make it easier to tell apart from the verbatim content.
-
Fred Drake authored
interfere with the flow of the sentence.
-
Tim Peters authored
-
Tim Peters authored
pickletools: Import decode_long from pickle instead of duplicating it.
-
Tim Peters authored
-
Tim Peters authored
sys.platform != mac. Likewise expect test_win{reg,sound} to get skipped on non-win32 platforms.
-
- 28 Jan, 2003 31 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Tim Peters authored
only get run by test_pickle.py now (& not by test_cpickle.py). This should be undone when protocol 2 is implemented in cPickle too. test_cpickle should pass again.
-
Guido van Rossum authored
__getnewargs__ method.
-
Guido van Rossum authored
Also tidied up a few lines, got rid of apply(), added a comment.
-
Tim Peters authored
fails, for reasons unrelated to this patch.
-
Fred Drake authored
-
Fred Drake authored
-
Guido van Rossum authored
-
Guido van Rossum authored
object.__reduce__, do a getattr() on the class so we can explicitly test for it. The reduce()-calling code becomes a bit more regular as a result. Also add support slots: if an object has slots, the default state is (dict, slots) where dict is the __dict__ or None, and slots is a dict mapping slot names to slot values. We do a best-effort approach to find slot names, assuming the __slots__ fields of classes aren't modified after class definition time to misrepresent the actual list of slots defined by a class.
-
Fred Drake authored
-
Jack Jansen authored
and also create a symlink "python" pointing to "python$(VERSION)". Fixes #675745.
-
Jack Jansen authored
non-windowing Python.
-
Jack Jansen authored
macostools.
-
Guido van Rossum authored
isn't checked in yet. :-(
-
Tim Peters authored
start for the C implemention of new pickle LONG1 and LONG4 opcodes (the linear-time way to pickle a long is to call _PyLong_AsByteArray, but the caller has no idea how big an array to allocate, and correct calculation is a bit subtle).
-
Guido van Rossum authored
possibility of calling save_reduce(). Add a special hack for this. The tests for this are much simpler now (no __getstate__ or __getnewargs__ needed).
-
Neal Norwitz authored
Check return value of PyLong_AsDouble(), it can return an error.
-
Guido van Rossum authored
after checking for __reduce__.
-
Guido van Rossum authored
fixed a bug in load_newobj().
-
Guido van Rossum authored
-
Barry Warsaw authored
-
Barry Warsaw authored
so merge from the bsddb-bsddb3-schizo-branch back to the trunk.
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
was used before string-escape codecs were added to the core.)
-
Guido van Rossum authored
checks to save_reduce(), which can also be called from a subclass.) Also tweaked some more comments.
-
Tim Peters authored
-
Tim Peters authored
they're easier to read this way.
-
Guido van Rossum authored
-