[Python-Dev] towards a faster Python (original) (raw)
Just van Rossum just@letterror.com
Tue, 10 Jun 2003 16:01:43 +0200
- Previous message: [Python-Dev] towards a faster Python
- Next message: [Python-Dev] towards a faster Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum wrote:
IOW:
# module foo def open(): return ... is fine, but import foo foo.open = 42 is not.
How about this:
module foo
def open(): ...
module bar
import foo foo.open = 42
?
(I would assume it to be ok, since the builtin name was already shadowed.)
Just
- Previous message: [Python-Dev] towards a faster Python
- Next message: [Python-Dev] towards a faster Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]