JarrettBillingsley/Croc — Issue #30: Module system improvements
Author: JarrettBillingsley
Created: 2011-11-10 05:48:42+00:00
State: open
Labels: Stdlib, Task

There are a few things I want to do:

1. Make it so module namespaces aren't inserted into the global namespace hierarchy until after they've been successfully loaded. No more half-loaded modules sitting in the globals.
2. Catch exceptions thrown by the module init function and turn them into ImportExceptions (dunno why I didn't do that during the great Exceptioning)
3. When a module is reloaded, re-insert sub-module namespaces as members of the namespace.