[Python-Dev] PEP 435 - requesting pronouncement (original) (raw)

Ethan Furman ethan at stoneleaf.us
Sun May 5 05:32:52 CEST 2013


On 05/04/2013 08:11 PM, Tim Delaney wrote:

I've been able to achieve the auto-numbering without relying on the internal implementation at all (with a limitation), with a single change to enumtype.new. My previous patch was slightly wrong - fix below as well. All existing tests pass. BTW, for mix-ins it's required that they have slots = () - might want to mention that in the PEP.

What happens without __slots__ = () ?

-- Ethan



More information about the Python-Dev mailing list