Nick Coghlan added the comment: On 12 Nov 2013 09:36, "Eric Snow" <rep...@bugs.python.org> wrote: > > As we found out (and you expounded) there are a variety of reload/load-into cases that we could address more explicitly. Perhaps there's a better API that could address those needs more broadly, or maybe they're just not worth addressing specifically. Exploring all this is something that can wait, IMHO.
Yes, that's an option, too, and probably a good one. To go down that path, we would drop the various "target" parameters and say loaders that need to check for the reloading case should continue to provide load_module without exec_module (at least for 3.4). runpy would use the rule that it supports anything that exposes exec_module without create_module. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18864> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com