[issue9387] Make python -m tkinter run tkinter demo

2010-07-27 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +benjamin.peterson, michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue9387] Make python -m tkinter run tkinter demo

2010-07-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Tue, Jul 27, 2010 at 10:44 AM, Éric Araujo wrote: > > Éric Araujo added the comment: > > BTW, why is the sys.argv hackery necessary? > Does import or runpy or something force us to jump through hoops? I guess we need to ask benjamin.peterson or micha

[issue9387] Make python -m tkinter run tkinter demo

2010-07-27 Thread Éric Araujo
Éric Araujo added the comment: BTW, why is the sys.argv hackery necessary? Does import or runpy or something force us to jump through hoops? -- ___ Python tracker ___ __

[issue9387] Make python -m tkinter run tkinter demo

2010-07-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Committed with changes suggested by Éric in r83177. -- resolution: accepted -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker

[issue9387] Make python -m tkinter run tkinter demo

2010-07-27 Thread Éric Araujo
Éric Araujo added the comment: The note seems fine to me. I’d used a semicolon, not a period, but that’s just me. You want to use `` to mark up code, not `. Aside: I’ve been told before not to do wrapping or whitespace changes unrelated to the object of my patch, to ease review. --

[issue9387] Make python -m tkinter run tkinter demo

2010-07-26 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- resolution: -> accepted stage: patch review -> commit review ___ Python tracker ___ ___ Python-bu

[issue9387] Make python -m tkinter run tkinter demo

2010-07-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: issue9387a.diff includes a note in library/tkinter.rst. The note can probably be improved. -- keywords: +patch Added file: http://bugs.python.org/file18217/issue9387a.diff ___ Python tracker

[issue9387] Make python -m tkinter run tkinter demo

2010-07-26 Thread Éric Araujo
Éric Araujo added the comment: Thanks for explaining. +1 on the patch. Maybe add a note in library/tkinter to explain this way of checking if the installation is right. -- ___ Python tracker __

[issue9387] Make python -m tkinter run tkinter demo

2010-07-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Jul 26, 2010 at 4:16 PM, Éric Araujo wrote: .. > I lack context: Why is being able to run “python -m tkinter” useful? The missing context is in issue 9384. I discovered that python -m tkinter did not work when I was looking for a simple way to