[Python-Dev] Fix import errors to have data (original) (raw)
Tim Peters tim.peters at gmail.com
Tue Aug 3 05:27:59 CEST 2004
- Previous message: [Python-Dev] Fix import errors to have data
- Next message: [Python-Dev] Fix import errors to have data
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Phillip J. Eby]
It's worse than that... 'ihooks' and 'imputil', for example, both do:
exec code in module.dict so they'd need to be changed to support this fix as well. (Not to mention any third-party import hooks...)
Ouch. For that matter, they also avoid the "choke point" Sunday night's patch relied on. So there are actually no choke points for any part of the import process now. Maybe after each bytecode we could make the eval loop look to see whether sys.modules had been changed .
- Previous message: [Python-Dev] Fix import errors to have data
- Next message: [Python-Dev] Fix import errors to have data
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]