On 05/06/2013 07:58 PM, Tim Delaney wrote:
Considering that doesn't actually work with the reference implementation (AutoNumber.__new__ is never called) ... no.
Two points: 1) Did you grab the latest code? That exact implementation passes in the tests. 2) You can write your __new__ however you want -- use ... ! ;) -- ~Ethan~ _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com