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 gregc
Recipients gregc, loewis
Date 2008-04-27.05:48:10
SpamBayes Score 0.0073495097
Marked as misclassified No
Message-id <1209275300.82.0.229312652575.issue2693@psf.upfronthosting.co.za>
In-reply-to
Content
I wish I could be as cavalier about Tk 8.5.  The last version of Tk 8.4
just came out and it really shows its age, especially on Mac OS X, and
those are ~25% of our application's downloads.  Since Python 2.6a2 is
"not suitable for production use", that leaves us with patching 2.5. 
Backporting, the _tkinter and Tkinter changes, was not hard, but then we
get "SystemError: Objects/tupleobject.c:89: bad argument to internal
function" errors with both the 2.5 and the 2.6a2 idlelibs.  Looking at
the SVN log, it is not clear which patch to tupleobject.c fixed that
problem (does anyone know?).

So fixing WidgetRedirector.py to not screw up the string representation
of tuples is the easiest solution to get idle to work with Tk 8.5. and
Python 2.5 (you still would want the Tkinter.py changes for other
reasons).  A slightly more robust solution would be to use Tcl quoting:

    r = '{%s}' % '} {'.join(map(str, r))

But that has not been important in practice.
History
Date User Action Args
2008-04-27 05:48:23gregcsetspambayes_score: 0.00734951 -> 0.0073495097
recipients: + gregc, loewis
2008-04-27 05:48:20gregcsetspambayes_score: 0.00734951 -> 0.00734951
messageid: <1209275300.82.0.229312652575.issue2693@psf.upfronthosting.co.za>
2008-04-27 05:48:18gregclinkissue2693 messages
2008-04-27 05:48:15gregccreate