[issue18422] is_package missing so can't use -m

2017-02-18 Thread Nick Coghlan
Changes by Nick Coghlan : -- stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue18422] is_package missing so can't use -m

2013-07-10 Thread andrew cooke
andrew cooke added the comment: in case anyone else ends up here through google... the problem described here is not related to the linked issue. it was just a missing `__init__.py` in the module (plus sucky error messages). the following works fine: . ├── README.md ├── src │   └── simplessl

[issue18422] is_package missing so can't use -m

2013-07-10 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue18422] is_package missing so can't use -m

2013-07-10 Thread Brett Cannon
Brett Cannon added the comment: The solution from issue #18058 can't be backported because it would expose a new public API on the NamespaceLoader class. It would also introduce new functionality which would differ between Python 3.3.2 and Python 3.3.3 which can't really be classified as a bug

[issue18422] is_package missing so can't use -m

2013-07-10 Thread andrew cooke
andrew cooke added the comment: can't see how to edit posts, so adding as a comment, this is what triggers the bug: > PYTHONPATH=src python -m simplessl -- ___ Python tracker _

[issue18422] is_package missing so can't use -m

2013-07-10 Thread Christian Heimes
Christian Heimes added the comment: You can't edit posts. :) I was going to ask how you are running __main__ but you were faster than me. -- assignee: -> brett.cannon nosy: +brett.cannon, christian.heimes type: -> behavior versions: +Python 3.4 ___

[issue18422] is_package missing so can't use -m

2013-07-10 Thread andrew cooke
New submission from andrew cooke: Using python 3.3, if I try to run __main__ I see this error: Traceback (most recent call last): File "/usr/local/lib/python3.3/runpy.py", line 140, in _run_module_as_main mod_name, loader, code, fname = _ge