Commit graph

7 commits

Author SHA1 Message Date
Guido van Rossum 6dc61b110f Add try-finally to close the file after loading it in
ModuleLoader.load_module!  (Thanks to Daniel Larsson who complained
about this.)
1997-08-13 14:48:36 +00:00
Guido van Rossum a97b8eef70 Set the __file__ attribute of the imported module in both versions of
load_module(), to mimick the behavior of imp more closely.
1996-10-07 23:41:54 +00:00
Guido van Rossum 8299e46831 Don't auto-install on import. This slows down apps that use
some of our modules for special purposes (e.g. rexec).
1996-10-04 19:57:11 +00:00
Guido van Rossum 2ea05098eb close module file after loading 1996-09-10 17:37:44 +00:00
Guido van Rossum 4e15599daa Import marshal before using it :-( 1996-06-17 17:10:45 +00:00
Guido van Rossum 6a0691aee4 fix bug in reload 1995-08-09 02:32:49 +00:00
Guido van Rossum e7e578ffe0 Initial revision 1995-08-04 04:00:20 +00:00