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 terry.reedy
Recipients j-4321-i, serhiy.storchaka, terry.reedy
Date 2017-09-15.19:47:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1505504877.32.0.383907678127.issue31485@psf.upfronthosting.co.za>
In-reply-to
Content
The unbind docstring, "Unbind for this widget for event SEQUENCE the
function identified with FUNCID" implies to me the behavior Juliette expected.  The NMT reference unpacks this to two sentences.  Reading the code
        self.tk.call('bind', self._w, sequence, '')
        if funcid:
            self.deletecommand(funcid)

the docstring should be something like "Unbind for this widget the event SEQUENCE.  If funcid is given, delete the command also"  This part of the bind docstring, "Bind will return an identifier to allow deletion of the bound function with unbind without memory leak." implies that the unbind behavior is deliberate.

Serhiy, are you proposing to add a new method that does what some people thought unbind would do?
History
Date User Action Args
2017-09-15 19:47:57terry.reedysetrecipients: + terry.reedy, serhiy.storchaka, j-4321-i
2017-09-15 19:47:57terry.reedysetmessageid: <1505504877.32.0.383907678127.issue31485@psf.upfronthosting.co.za>
2017-09-15 19:47:57terry.reedylinkissue31485 messages
2017-09-15 19:47:57terry.reedycreate