[Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, as
Ethan Furman
ethan at stoneleaf.us
Mon Feb 25 15:41:06 CET 2013
On 02/24/2013 08:14 PM, Barry Warsaw wrote:
> On Feb 24, 2013, at 07:32 PM, Ethan Furman wrote:
>
>> I would still like the int subclass, though, as it would be an aid to me on
>> the Python side.
>
> I think you'll know what I'm going to say. :)
Yup, saw that coming. ;)
> 1) Usually, you won't need it (see the responses from people who don't care
> about the value).
They are not me (or others like me (we do exist! we do! we do!).
> 2) When you do, wrapping the item in int() doesn't seem too bad to me.
If it was just once or twice, sure, but I use them as names for ints, which means I use them as ints, which means I
would have a boat load of int() calls.
--
~Ethan~
More information about the Python-Dev
mailing list