[Python-Dev] towards a faster Python

Michael Hudson mwh@python.net
Tue, 10 Jun 2003 15:39:32 +0100


Neil Schemenauer <nas@python.ca> writes:

> 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
>

Ah.  I think Guido dislikes this one (as in, would like to see this
practice banned), not sure about the community :-)

>> but I had plenty of variables called `file' pre-2.2 (and probably
>> still do).
>
> That's fine and there will be no warning.

Goody.

Cheers,
M.

-- 
  [3] Modem speeds being what they are, large .avi files were
      generally downloaded to the shell server instead[4].
  [4] Where they were usually found by the technical staff, and
      burned to CD.                                   -- Carlfish, asr