[New-bugs-announce] [issue16809] Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)

Roger Serwy report at bugs.python.org
Sat Dec 29 07:38:27 CET 2012

New submission from Roger Serwy:

I am running Arch Linux with the latest Tcl/Tk 8.6.0 build with Python 2.7.3 and 3.3.0, and the latest 3.4.0a0 build from the repository.

Running the attached script fails when calling pack_info(). Here's is the script's output:

Traceback (most recent call last):
  File "tk_86_error.py", line 6, in <module>
  File "/usr/lib/python3.3/tkinter/__init__.py", line 1884, in pack_info
    self.tk.call('pack', 'info', self._w))
TypeError: Can't convert '_tkinter.Tcl_Obj' object to str implicitly

This error did not occur when using Tk 8.5.13.

components: Tkinter
files: tk_86_error.py
messages: 178475
nosy: serwy
priority: high
severity: normal
status: open
title: Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)
type: behavior
versions: Python 2.7, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file28476/tk_86_error.py

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list