greg wrote: > > > He deemed the situation where M is loaded-but-missing-from-sys.modules > > to be even worse than for M to be left loaded-but-broken therein. > > Maybe modules should have a this-module-is-broken flag which > is set when the module fails to import properly, and which > causes an exception on any further attempt to reference a > name in it. how do you detect that a module is successfully imported? the only way I can think of is "execution reached the end of the module", which would probably break considerable amounts of code that rely on "temporarily recursive" imports. </F>
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