SIGN IN SIGN UP

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__

Bugfix candidate.
J
Jeremy Hylton committed
065a5ab8fb89b6f082a8361b860b48c00f21c301
Parent: 16849a7