[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-bu

[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 ___ __

[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 pro