[issue42844] Turtle Module -- "onclick" arguments enchancement

2022-01-31 Thread sc1341


Change by sc1341 :


Removed file: https://bugs.python.org/file49723/on_click_arguments_example.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42844] Turtle Module -- "onclick" arguments enchancement

2022-01-31 Thread sc1341


Change by sc1341 :


--
pull_requests:  -22972

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42844] Turtle Module -- "onclick" arguments enchancement

2021-01-06 Thread Stephen


Change by Stephen :


--
keywords: +patch
pull_requests: +22972
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/24143

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42844] Turtle Module -- "onclick" arguments enchancement

2021-01-06 Thread Stephen

New submission from Stephen :

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.

--
components: Library (Lib)
files: on_click_arguments_example.py
messages: 384513
nosy: sc1341
priority: normal
severity: normal
status: open
title: Turtle Module -- "onclick" arguments enchancement
type: enhancement
versions: Python 3.10
Added file: https://bugs.python.org/file49723/on_click_arguments_example.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com