Execfile() - bug
Execfile() - bug / strange behavior
Carel Fellinger cfelling at iae.nlSat Feb 5 17:06:22 EST 2000
- Previous message (by thread): Execfile() - bug / strange behavior
- Next message (by thread): ODBC and mxODBC
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gordon McMillan <gmcm at hypernet.com> wrote: > Carel Fellinger wrote: >> And how then would it pass on the locals dict in this case? According to ... > The only reason for using execfile is if you don't know what the > file contains. Thus you wouldn't know what names it will > introduce. So the only sane way of dealing with it is with an > explicit dict. KeyErrors are easier to deal with than I stand corrected:( and my love for Python increases now that even the dark corners appear to be benevolent. -- groetjes, carel
- Previous message (by thread): Execfile() - bug / strange behavior
- Next message (by thread): ODBC and mxODBC
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list