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.

Title: Idle + tcl 8.6.0 Can't convert '_tkinter.Tcl_Obj' object to str implicitly
Type: behavior Stage: resolved
Components: IDLE, Tkinter Versions: Python 3.3, Python 3.4
Status: closed Resolution: duplicate
Dependencies: Superseder: Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)
View: 16809
Assigned To: Nosy List: HJarausch, serhiy.storchaka
Priority: normal Keywords:

Created on 2013-02-21 11:11 by HJarausch, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg182587 - (view) Author: Helmut Jarausch (HJarausch) Date: 2013-02-21 11:11
I have tcl/tk 8.6.0 installed here. Both Python versions below
are build from source.

I'm using LANG=en_US.iso88591 here if that matters.

When opening a file in Idle with 
python-3.3.1 revision: c08bcf5302ec


python-3.4.0a0 (default:3a110a506d35) (HG version)

I get
Failed to load extension 'CodeContext'
Traceback (most recent call last):
  File "/home/jarausch/GenToo/LOC/TEST/Python/cpython/Lib/idlelib/", line 1034, in load_standard_extensions
  File "/home/jarausch/GenToo/LOC/TEST/Python/cpython/Lib/idlelib/", line 1055, in load_extension
    ins = cls(self)
  File "/home/jarausch/GenToo/LOC/TEST/Python/cpython/Lib/idlelib/", line 49, in __init__
  File "/home/jarausch/GenToo/LOC/TEST/Python/cpython/Lib/idlelib/", line 66, in toggle_code_context_event
    padx += int(str( widget.pack_info()['padx'] ))
  File "/home/jarausch/GenToo/LOC/TEST/Python/cpython/Lib/tkinter/", line 1919, in pack_info'pack', 'info', self._w))
TypeError: Can't convert '_tkinter.Tcl_Obj' object to str implicitly
msg182588 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-02-21 11:51
Python is not ready for Tcl/Tk 8.6 yet.
Date User Action Args
2022-04-11 14:57:42adminsetgithub: 61468
2013-02-21 11:51:03serhiy.storchakasetstatus: open -> closed

superseder: Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)
nosy: + serhiy.storchaka
components: + Tkinter

messages: + msg182588
type: behavior
resolution: duplicate
stage: resolved
2013-02-21 11:11:30HJarauschcreate