[Python-Dev] towards a faster Python

Neil Schemenauer nas@python.ca
2003年6月10日 07:36:14 -0700


Michael Hudson wrote:
> Neil Schemenauer <nas@python.ca> writes:
>> > I'm not sure how much resistance there would be in the community to
> > disallowing reassignment of builtin names though. I don't think
> > I've ever reassigned a builtin name so I think it would be worth it.
>> I'm not sure quite what you mean here,

What I mean by reassigning builtins is:
 import __builtin__
 __builtin__.int = something
> but I had plenty of variables called `file' pre-2.2 (and probably
> still do).

That's fine and there will be no warning.
 Neil

AltStyle によって変換されたページ (->オリジナル) /