R. David Murray added the comment: I'm no expert on pep 302 either, but I'm guessing this is an intentional part of the design. You'll note that updating the namespace is *not* mentioned as one of the things load_module has to do. The update of the namespace is something the import system as a whole implements, and I'm not sure where it happens (probably __import__/import_module).
Unless you are saying that this is a regression, it doesn't really matter if it was intentional or not, since if it is not a regression then it's been that way for a long time. ---------- nosy: +r.david.murray _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25372> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com