39
edits
(New page: = Pythonic Modules = This proposal describes a module system similar to the one implemented in [http://github.com/hns/helma-ng/tree/master Helma NG]. I call it Pythonic Modules because it...) |
Petermichaux (talk | contribs) |
||
| Line 57: | Line 57: | ||
Should the module lookup path be mutable during program execution? Perhaps an array require.path could be mutated for this purpose. This may be tricky to implement and seems non-essential. Can this be postponed to a later edition of the spec so as not to slow things down? | Should the module lookup path be mutable during program execution? Perhaps an array require.path could be mutated for this purpose. This may be tricky to implement and seems non-essential. Can this be postponed to a later edition of the spec so as not to slow things down? | ||
Should the module automatically-tried extensions be mutable during program execution. Something like require.extensions=["dll","js"] ? | |||
Should there be a require.loaded array-valued property with all the loaded module names or scopes? This seems non-essential. Can this be postponed to a later edition of the spec so as not to slow things down? | Should there be a require.loaded array-valued property with all the loaded module names or scopes? This seems non-essential. Can this be postponed to a later edition of the spec so as not to slow things down? | ||
What is the value of "this" when evaluated in the module scope? | What is the value of "this" when evaluated in the module scope? | ||
edits