Message176696
Exiting a Tkinter application normally results in printing '0' and exiting with error code 1. This is a result of Tkinter's _exit function, whose default argument for code is the string '0'. It then calls SystemExit with the code argument. However, according to the SystemExit documentation "if [the argument] has another type (such as a string), the object’s value is printed and the exit status is one". A simple fix for this would be to change the Tkinter _exit function to convert code to an int before passing it to SystemExit. |
|
Date |
User |
Action |
Args |
2012-11-30 18:03:53 | Abraham Karplus | set | recipients:
+ Abraham Karplus |
2012-11-30 18:03:53 | Abraham Karplus | set | messageid: <1354298633.36.0.337905476432.issue16582@psf.upfronthosting.co.za> |
2012-11-30 18:03:53 | Abraham Karplus | link | issue16582 messages |
2012-11-30 18:03:52 | Abraham Karplus | create | |
|