]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport 1.70 and 1.71 (which really go together):
authorGuido van Rossum <guido@python.org>
Mon, 7 Oct 2002 13:09:25 +0000 (13:09 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 7 Oct 2002 13:09:25 +0000 (13:09 +0000)
commitc202fd20e4ca209d6d1e59c6a7b1855a1b4a6780
tree0fe4f2b28bf12121d4573bcfc18e64dcf24f48e7
parentd1bb75505fbb5b47f4f3d420e00964b38c24b203
Backport 1.70 and 1.71 (which really go together):

1.70:
whichmodule() should skip dummy package entries in sys.modules.

This fixes the charming, but unhelpful error message for
>>> pickle.dumps(type.__new__)
Can't pickle <built-in method __new__ of type object at 0x812a440>: it's not the same object as datetime.math.__new__

1.71:
Fiddle comments and variable names in whichmodule().
Lib/pickle.py