[issue23610] -m arg behavior

2015-03-08 Thread Zachary Ware

Changes by Zachary Ware :


--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23610] -m arg behavior

2015-03-08 Thread Josh Rosenberg

Josh Rosenberg added the comment:

This is intentional and documented behavior: 
https://docs.python.org/3/library/__main__.html

--
nosy: +josh.r

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23610] -m arg behavior

2015-03-08 Thread Liam Marsh

New submission from Liam Marsh:

hello!

trying the solutions proposed by the 23546'th issue, i found that the -m 
argument, for packages (like tkinter, or idlelib; not io or socket), trys to 
find the "__main__" file, not the "__init__" file, which is the main file of 
any package.

is that a problem?

thank you for reading this, and have a nice day/evening!

--
components: Interpreter Core, Library (Lib)
messages: 237546
nosy: Liam.Marsh
priority: normal
severity: normal
status: open
title: -m arg behavior
type: behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com