This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gpolo
Recipients gpolo
Date 2008-09-03.22:32:09
SpamBayes Score 2.8810139e-06
Marked as misclassified No
Message-id <1220481131.49.0.0978802326192.issue3767@psf.upfronthosting.co.za>
In-reply-to
Content
Chooser._fixresult in the tkColorChooser module uses "if not result" to
check if user canceled the dialog, but nowadays Tk may return a cached
object that contains the result we are after, so, this object will not
simply evaluate to false and _fixresult will act like if the user didn't
cancel the dialog. 
The fix is simple, just get the real value of result in that check.
History
Date User Action Args
2008-09-03 22:32:11gpolosetrecipients: + gpolo
2008-09-03 22:32:11gpolosetmessageid: <1220481131.49.0.0978802326192.issue3767@psf.upfronthosting.co.za>
2008-09-03 22:32:10gpololinkissue3767 messages
2008-09-03 22:32:10gpolocreate