]> granicus.if.org Git - python/commit
Nudge getting __module__ and __name__ for new-style classes so that
authorMichael W. Hudson <mwh@python.net>
Wed, 27 Nov 2002 16:29:26 +0000 (16:29 +0000)
committerMichael W. Hudson <mwh@python.net>
Wed, 27 Nov 2002 16:29:26 +0000 (16:29 +0000)
commitade8c8b2c3a158013564a6adbd92686b5f3340c9
treee991ed37bd078f9730bcebca7f80037be077ae01
parentdeaba570097c73145a46707efd94134eb2c6cda3
Nudge getting __module__ and __name__ for new-style classes so that
the results of *setting* __name__ are not so surprising.

If people can suggest more tests, that'd be grand, or is what's there
sufficient?
Lib/test/test_descr.py
Objects/typeobject.c