[issue22214] Tkinter: Don't stringify callbacks arguments

2016-06-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated patch. Added NEWS and What's New entries. -- assignee: -> serhiy.storchaka versions: +Python 3.6 -Python 3.5 Added file: http://bugs.python.org/file43468/tkinter_obj_cmd_3.patch ___ Python tracker

[issue22214] Tkinter: Don't stringify callbacks arguments

2014-08-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > The patch appears to change it to 2 in tkinter/__init__.py. This is for development only. You can apply the patch and test how new mode affects IDLE or other applications. > One thing slightly puzzles me: the current PythonCmd is used in a call to > Tcl_Cr

[issue22214] Tkinter: Don't stringify callbacks arguments

2014-08-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think I requested elsewhere that public _tkinter/tkinter names be documented. What you wrote already seems clear enough. "Default mode is still wantobjects=1," The patch appears to change it to 2 in tkinter/__init__.py. "/* Create argument list (argv1, ...

[issue22214] Tkinter: Don't stringify callbacks arguments

2014-08-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Run Tkinter tests with wantobjects=False ___ Python tracker ___ ___ Python-bugs-list m

[issue22214] Tkinter: Don't stringify callbacks arguments

2014-08-17 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Currently Tkinter supports two modes: * When wantobjects=1 (default), all results of Tcl/Tk commands are converted to appropriate Python objects (int, float, str, bytes, tuple) if it is possible or to Tcl_Obj for unknown Tcl types. * When wantobjects=0 (le