This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients roger.serwy, terry.reedy
Date 2013-05-26.03:48:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369540117.58.0.797482167205.issue18064@psf.upfronthosting.co.za>
In-reply-to
Content
Code also suggests that this function should be elsewhere, such as in iobinding. This should be in the same place as regular open, wherever that is, since it is an alternative open.

Document should be upgraded a bit: "Load module opens Python-coded modules on sys.path in an editor window. The default name is the currently selected text, if any."

Tests should be added with this issue. This is the smallest dialog, and the structure of the revised code (#18055) gives a skeleton for a testcase: test_python_module (window open), test_builtin_module (Exception), test_bad_path (different Exception), and maybe even test_bad loader. We should look at tkinter tests for simulating name entry and click.
History
Date User Action Args
2013-05-26 03:48:37terry.reedysetrecipients: + terry.reedy, roger.serwy
2013-05-26 03:48:37terry.reedysetmessageid: <1369540117.58.0.797482167205.issue18064@psf.upfronthosting.co.za>
2013-05-26 03:48:37terry.reedylinkissue18064 messages
2013-05-26 03:48:37terry.reedycreate