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 lemburg
Recipients docs@python, eli.bendersky, eric.araujo, lemburg, ncoghlan
Date 2013-04-01.20:11:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364847085.48.0.629008432915.issue17359@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think that's enough documentation for the feature. There's a whole PEP 338 just for the -m option due to the subtle issue associated with the "run a module" logic, so I'd expect somewhat more detail or an update of the PEP with the needed details.

This page would be the appropriate place for a section on the topic, I guess:

http://docs.python.org/3/library/runpy.html

A mention on this page would also be good:

http://docs.python.org/3/tutorial/interpreter.html

Since the feature was added in Python 2.6, the documentation patch should also be backported to the Python 2.6 and 2.7.

PS: I wonder why the documentation search doesn't even return the page you mentioned.
History
Date User Action Args
2013-04-01 20:11:25lemburgsetrecipients: + lemburg, ncoghlan, eric.araujo, eli.bendersky, docs@python
2013-04-01 20:11:25lemburgsetmessageid: <1364847085.48.0.629008432915.issue17359@psf.upfronthosting.co.za>
2013-04-01 20:11:25lemburglinkissue17359 messages
2013-04-01 20:11:25lemburgcreate