A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-December/050371.html below:

[Python-Dev] PEP 338: Executing modules inside packages with '-m'

[Python-Dev] PEP 338: Executing modules inside packages with '-m' [Python-Dev] PEP 338: Executing modules inside packages with '-m'Brett C. bac at OCF.Berkeley.EDU
Sun Dec 12 04:17:28 CET 2004
Nick Coghlan wrote:
> Python 2.4's -m command line switch only works for modules directly on 
> sys.path.
> Trying to use it with modules inside packages will fail with a "Module not
> found" error. This PEP aims to fix that for Python 2.5.
> 
> Previously, posting of a draft version of the PEP to python-dev and 
> python-list
> didn't actually generate any responses. I'm not sure if that's an 
> indication
> that people don't see the restriction to top-level modules as a problem 
> (and
> hence think the PEP is unecessary), or think the extension to handle 
> packages is
> obvious (and hence see no need to comment).
> 
> For c.l.p, it could just be a sign that Python 2.4 hasn't been out long 
> enough for anyone to care what I'm yabbering on about :)
> 
> Anyway, all comments are appreciated (even a simple "Sounds good to me").
> 

Sounds good to me. =)

+1

-Brett
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4