[Python-Dev] PEP 435 - requesting pronouncement (original) (raw)
Ethan Furman ethan at stoneleaf.us
Sun May 5 05:32:52 CEST 2013
- Previous message: [Python-Dev] PEP 435 - requesting pronouncement
- Next message: [Python-Dev] PEP 435 - requesting pronouncement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] PEP 435 - requesting pronouncement
- Next message: [Python-Dev] PEP 435 - requesting pronouncement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]