[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>.
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