[issue3441] Regression in "module as a script" command-line option

Richard Jones report at bugs.python.org
Fri Jul 25 06:09:07 CEST 2008


New submission from Richard Jones <richardjones at optushome.com.au>:

The Python 2.5 "-m" command-line option allowed execution of a package
directly, by invoking the __init__.py module.

Python 2.6 no longer allows this.

This is a quite unfortunate regression, and I would urge the decision to
hobble it to be reconsidered.

----------
messages: 70240
nosy: richard
severity: normal
status: open
title: Regression in "module as a script" command-line option
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3441>
_______________________________________


More information about the Python-bugs-list mailing list