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 belopolsky
Recipients belopolsky, georg.brandl, gregorlingl, terry.reedy
Date 2010-10-19.18:33:23
SpamBayes Score 1.0068714e-08
Marked as misclassified No
Message-id <1287513206.08.0.782977371409.issue7061@psf.upfronthosting.co.za>
In-reply-to
Content
> It seems that 'add=False' would be same as 'add=None' and more
> consistent with below.

The add argument is passed unchanged to canvas' bind method which is documented as taking either '' or '+' string:

http://docs.python.org/library/tkinter.html?highlight=canvas#bindings-and-events

I think anything that can be used in boolean context can be used there.  None and '' are equivalent to False and '+' is equivalent to True.  I agree that True/False are better options and suggest to change tkinter doc accordingly.

As far as changing the default value from None to False, if this is done in doc, the same should be done in the code.  I am -0 on that.
History
Date User Action Args
2010-10-19 18:33:26belopolskysetrecipients: + belopolsky, georg.brandl, terry.reedy, gregorlingl
2010-10-19 18:33:26belopolskysetmessageid: <1287513206.08.0.782977371409.issue7061@psf.upfronthosting.co.za>
2010-10-19 18:33:24belopolskylinkissue7061 messages
2010-10-19 18:33:23belopolskycreate