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.

classification
Title: Document limitations on -m
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.3
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: docs@python Nosy List: acooke, docs@python, ezio.melotti, ncoghlan
Priority: normal Keywords: easy

Created on 2013-07-10 12:58 by acooke, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 158 closed CuriousLearner, 2017-02-18 11:38
Messages (3)
msg192804 - (view) Author: andrew cooke (acooke) Date: 2013-07-10 12:58
Apparently the limited support for -m is standard behaviour - see http://bugs.python.org/issue18422 - but it's not documented at http://docs.python.org/3/using/cmdline.html#cmdoption-m

That should say, somewhere, that it only applies to leaf modules and packages.
msg224598 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-08-03 00:20
@Andrew could you put up a patch for this?
msg288447 - (view) Author: Nick Coghlan (ncoghlan) * (Python committer) Date: 2017-02-23 14:41
The limitation noted in #18422 was specific to 3.3, as the missing API was added to NamespaceLoader in 3.4.

So the current documentation is accurate for recent versions of Python.
History
Date User Action Args
2022-04-11 14:57:47adminsetgithub: 62623
2017-02-23 14:41:58ncoghlansetstatus: open -> closed

versions: + Python 3.3, - Python 3.4, Python 3.5
nosy: + ncoghlan

messages: + msg288447
resolution: out of date
stage: needs patch -> resolved
2017-02-18 17:48:38BreamoreBoysetnosy: - BreamoreBoy
2017-02-18 11:38:30CuriousLearnersetpull_requests: + pull_request122
2014-08-03 00:20:26BreamoreBoysetnosy: + BreamoreBoy

messages: + msg224598
versions: + Python 3.5, - Python 3.3
2013-08-08 17:25:25ezio.melottisetnosy: + ezio.melotti

type: enhancement
versions: + Python 3.4
2013-07-10 14:29:22brett.cannonsetkeywords: + easy
stage: needs patch
versions: + Python 3.3
2013-07-10 12:58:32acookecreate