On May 14, 2:24 pm, Jean-Michel Pichavant
wrote:
> - Original Message -
> > On Mon, 13 May 2013 13:00:36 +0200, Jean-Michel Pichavant wrote:
>
> > > - Original Message -
> > >> That's the title of this little beast
> > >>http://www.acooke.org/cute/Pythonssad0.htmlif anybody's
> > >
Chris Angelico於 2013年5月14日星期二UTC+8上午1時36分34秒寫道:
> On Mon, May 13, 2013 at 8:17 PM, Steven D'Aprano
>
> wrote:
>
> > Let's look at his major criticisms:
>
> >
>
> > 1) values aren't automatically generated.
>
> >
>
> > True. So what? That is the *least* important part of enums.
>
>
>
> I s
On 13 May 2013 12:05, "Jean-Michel Pichavant"
wrote:
>
> class Enum:
> class __metaclass__(type):
That's some cool metaclass fu! I didn't know that to be possible
--
http://mail.python.org/mailman/listinfo/python-list
- Original Message -
> On Mon, 13 May 2013 13:00:36 +0200, Jean-Michel Pichavant wrote:
>
> > - Original Message -
> >> That's the title of this little beast
> >> http://www.acooke.org/cute/Pythonssad0.html if anybody's
> >> interested.
> >>
> >> --
> >> If you're using GoogleCrap
On Mon, 13 May 2013 13:00:36 +0200, Jean-Michel Pichavant wrote:
> - Original Message -
>> That's the title of this little beast
>> http://www.acooke.org/cute/Pythonssad0.html if anybody's interested.
>>
>> --
>> If you're using GoogleCrap™ please read this
>> http://wiki.python.org/moin/
On Mon, May 13, 2013 at 8:17 PM, Steven D'Aprano
wrote:
> Let's look at his major criticisms:
>
> 1) values aren't automatically generated.
>
> True. So what? That is the *least* important part of enums.
I stopped following the -ideas threads about enums, but IIRC
autogeneration of values was in
- Original Message -
> That's the title of this little beast
> http://www.acooke.org/cute/Pythonssad0.html if anybody's interested.
>
> --
> If you're using GoogleCrap™ please read this
> http://wiki.python.org/moin/GoogleGroupsPython.
>
> Mark Lawrence
>
> --
> http://mail.python.org/ma
On Mon, 13 May 2013 10:24:40 +0100, Mark Lawrence wrote:
> That's the title of this little beast
> http://www.acooke.org/cute/Pythonssad0.html if anybody's interested.
Well, that's one way of looking at it. And I can't exactly *disagree*.
But... but...
In many ways, it's a dull language, b