[issue9387] Make python -m tkinter run tkinter test

2010-07-26 Thread Éric Araujo
Éric Araujo added the comment: I lack context: Why is being able to run “python -m tkinter” useful? Tests can be run directly or via regrtest, and I recall Guido saying that using modules as scripts was an anti-pattern to him, i.e. sometimes useful but not always necessary. -- nosy:

[issue9387] Make python -m tkinter run tkinter test

2010-07-26 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- keywords: +needs review stage: -> patch review versions: +Python 3.2 ___ Python tracker ___ ___ P

[issue9387] Make python -m tkinter run tkinter test

2010-07-26 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Since tkinter is a package, it requires __main__.py in order to be runnable using -m option. Attached tkinter-m.patch fixes this. -- assignee: belopolsky components: Tkinter files: tkinter-m.py keywords: easy messages: 111654 nosy: belopolsky