ABCs -> infix syntax for isinstance() ?
Boris Borcic
bborcic at gmail.com
Wed Oct 8 11:24:49 EDT 2008
Bruno Desthuilliers wrote:
> bborcic at gmail.com a écrit :
...
>> A intriguing wider proposition would be to transpose Ruby's notion of
>> "Open Classes" to Python built-in metaclasses (or just to type
>> itself ?).
>
> No, thanks. Even the Ruby guys start to think making evrything open may
> not be such a good idea after all.
Wasn't an all-or-nothing proposition; a good objection is spelled out in PEP
3119 (ABCs) :
<citing>
...but there are some good reasons to keep the built-in types immutable (for
one, they are shared between all Python interpreters running in the same address
space, as is used by mod_python)
</citing>
Cheers, BB
More information about the Python-list
mailing list