[Python-Dev] PEP 435: initial values must be specified? Yes

Ethan Furman ethan at stoneleaf.us
Tue May 7 06:54:35 CEST 2013


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~


More information about the Python-Dev mailing list