> > Making it explicit would make me happy. Can you pass parameters to an > import? > not directly, an extension like import module(parmmod=....,...) would not seem totally unreasonable. The problem is that normally modules are uniquely globally identified singletons, but the very notion of parametrization implies instantiation and that breaks the singleton part. When to instatiate a new module and when not? a potential problem is not simply module specific global state but that the e.g. classes exported from two instances of the same module would be _distinct_ and so not interoperable. regards.
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