]> granicus.if.org Git - python/commit
Implement appropriate __getnewargs__ for all immutable subclassable builtin
authorGuido van Rossum <guido@python.org>
Wed, 29 Jan 2003 17:58:45 +0000 (17:58 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 29 Jan 2003 17:58:45 +0000 (17:58 +0000)
commit5d9113d8be81596bc93f2b1a37f57e5110d39a77
treef7bdf7fc9aa5afbf967e9e110baea0e4cdd9ffec
parentd3590f937f4493445beeb253e5048771d1663ab7
Implement appropriate __getnewargs__ for all immutable subclassable builtin
types.  The special handling for these can now be removed from save_newobj().
Add some testing for this.

Also add support for setting the 'fast' flag on the Python Pickler class,
which suppresses use of the memo.
Lib/pickle.py
Lib/test/pickletester.py
Lib/test/test_pickle.py
Objects/complexobject.c
Objects/floatobject.c
Objects/intobject.c
Objects/longobject.c
Objects/stringobject.c
Objects/tupleobject.c
Objects/unicodeobject.c