A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-August/046671.html below:

[Python-Dev] Fix import errors to have data

[Python-Dev] Fix import errors to have data [Python-Dev] Fix import errors to have dataTim Peters tim.peters at gmail.com
Tue Aug 3 05:27:59 CEST 2004
[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 <wink>.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4