[Python-Dev] PEP 435 -- Adding an Enum type to the Python standard library
greg.ewing at canterbury.ac.nz
Fri Apr 26 02:54:39 CEST 2013
> On Thu, Apr 25, 2013 at 3:29 PM, Barry Warsaw<barry at python.org> wrote:
>> I just can't get over the weirdness of a class having attributes which are
>> actual instances of itself.
I wonder how many programmers will even notice that
this characteristic exists.
Exactly the same weirdness occurs in Java, but I
had never thought about it until this discussion
came up, and I wondered "Hmmm... seems like this
ought to happen in Java too", tried it out, and
found that it did.
More information about the Python-Dev