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 sc1341
Recipients sc1341
Date 2021-01-06.17:00:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609952412.13.0.0764333219073.issue42844@roundup.psfhosted.org>
In-reply-to
Content
I have created an enhancement in the Turtle module. When a programmer wants to have an action performed after clicking on a Turtle object, the programmer is currently unable to supply any arguments into the method that is run when "on_clicked" which is extremely limiting, especially to beginners who are looking to modify multiple objects on the screen at one time, such as in a game. I have modified the implementation of the “on_clicked” method to be able to provide keyword arguments into the method through a dictionary that is later unpacked into the target method. Attached is an example of the benefits of this enhancement to the turtle module.
History
Date User Action Args
2021-01-06 17:00:12sc1341setrecipients: + sc1341
2021-01-06 17:00:12sc1341setmessageid: <1609952412.13.0.0764333219073.issue42844@roundup.psfhosted.org>
2021-01-06 17:00:12sc1341linkissue42844 messages
2021-01-06 17:00:12sc1341create