Life's better without builtins? (was: Life's better without braces)

Niels Diepeveen niels at
Fri Feb 25 12:47:18 EST 2000

Michael Hudson schreef:
> Think module.__file__ & exec for reload.  Something like
> def reload(module):
>     exec open(module.__file__[:-1]).read() in module.__dict__
>     return module

That seems a perfect replacement. (except for the [:-1]?) So, only a few
more hurdles before the release of PPython;-)

Niels Diepeveen
Endea automatisering

More information about the Python-list mailing list