A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-February/020069.html below:

[Python-Dev] PEP needed? Introducing Tcl objects

[Python-Dev] PEP needed? Introducing Tcl objects [Python-Dev] PEP needed? Introducing Tcl objectsMartin v. Loewis martin@v.loewis.de
Fri, 15 Feb 2002 10:36:20 +0100
I have a patch that makes the Tcl object API available to _tkinter, in
the sense that Tcl invocations don't necessarily return strings, but
return Tcl objects (or appropriately converted Python objects). This
both helps to improve efficiency, and to improve correctness of Tkinter
applications since less type guessing is needed.

For backward compatibility, there is an option on the tkapp object to
determine whether strings or objects are returned. This is on by
default when using Tkinter, but can be turned off through setting
Tkinter.want_objects to 0. I found that IDLE still works fine when
using Tcl objects.

Do I need to write a PEP for this change, should I post a patch to SF,
or should I just apply the change to the CVS?

Regards,
Martin



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4