unfortunately, the bug is not fixed (Python 2.5.5 is security bugfixes
release only)

Michal Bozon

On Sun, Jan 31, 2010 at 8:51 PM, Debian Bug Tracking System <
ow...@bugs.debian.org> wrote:

> This is an automatic notification regarding your Bug report
> which was filed against the python2.5 package:
>
> #538305: idle: Tk(inter) bug - completion tooltips don't work
>
> It has been closed by Matthias Klose <d...@debian.org>.
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Matthias Klose <
> d...@debian.org> by
> replying to this email.
>
>
> --
> 538305: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=538305
> Debian Bug Tracking System
> Contact ow...@bugs.debian.org with problems
>
>
> ---------- Forwarded message ----------
> From: Matthias Klose <d...@debian.org>
> To: 538305-cl...@bugs.debian.org
> Date: Sun, 31 Jan 2010 19:49:54 +0000
> Subject: Bug#538305: fixed in python2.5 2.5.5-1
> Source: python2.5
> Source-Version: 2.5.5-1
>
> We believe that the bug you reported is fixed in the latest version of
> python2.5, which is due to be installed in the Debian FTP archive:
>
> idle-python2.5_2.5.5-1_all.deb
>  to main/p/python2.5/idle-python2.5_2.5.5-1_all.deb
> python2.5-dbg_2.5.5-1_i386.deb
>  to main/p/python2.5/python2.5-dbg_2.5.5-1_i386.deb
> python2.5-dev_2.5.5-1_i386.deb
>  to main/p/python2.5/python2.5-dev_2.5.5-1_i386.deb
> python2.5-examples_2.5.5-1_all.deb
>  to main/p/python2.5/python2.5-examples_2.5.5-1_all.deb
> python2.5-minimal_2.5.5-1_i386.deb
>  to main/p/python2.5/python2.5-minimal_2.5.5-1_i386.deb
> python2.5_2.5.5-1.diff.gz
>  to main/p/python2.5/python2.5_2.5.5-1.diff.gz
> python2.5_2.5.5-1.dsc
>  to main/p/python2.5/python2.5_2.5.5-1.dsc
> python2.5_2.5.5-1_i386.deb
>  to main/p/python2.5/python2.5_2.5.5-1_i386.deb
> python2.5_2.5.5.orig.tar.gz
>  to main/p/python2.5/python2.5_2.5.5.orig.tar.gz
>
>
>
> A summary of the changes between this version and the previous one is
> attached.
>
> Thank you for reporting the bug, which will now be closed.  If you
> have further comments please address them to 538...@bugs.debian.org,
> and the maintainer will reopen the bug report if appropriate.
>
> Debian distribution maintenance software
> pp.
> Matthias Klose <d...@debian.org> (supplier of updated python2.5 package)
>
> (This message was generated automatically at their request; if you
> believe that there is a problem with it please contact the archive
> administrators by mailing ftpmas...@debian.org)
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Format: 1.8
> Date: Sun, 31 Jan 2010 17:26:03 +0100
> Source: python2.5
> Binary: python2.5 python2.5-minimal python2.5-examples python2.5-dev
> idle-python2.5 python2.5-dbg
> Architecture: source all i386
> Version: 2.5.5-1
> Distribution: unstable
> Urgency: low
> Maintainer: Matthias Klose <d...@debian.org>
> Changed-By: Matthias Klose <d...@debian.org>
> Description:
>  idle-python2.5 - An IDE for Python (v2.5) using Tkinter
>  python2.5  - An interactive high-level object-oriented language (version
> 2.5)
>  python2.5-dbg - Debug Build of the Python Interpreter (version 2.5)
>  python2.5-dev - Header files and a static library for Python (v2.5)
>  python2.5-examples - Examples for the Python language (v2.5)
>  python2.5-minimal - A minimal subset of the Python language (version 2.5)
> Closes: 513335 538305 565713 567701
> Changes:
>  python2.5 (2.5.5-1) unstable; urgency=low
>  .
>   * New upstream version (security fixes).
>   * Remove audio file with unclear copyright status. Closes: #565713.
>   * Update emacs build dependency. Closes: #567701.
>   * Fix title tag in generated calendar html page. Closes: #513335.
>   * Fix python2.5 / tk8.5 incompatibility. Closes: #538305.
> Checksums-Sha1:
>  4290fcff8ff3c012c2f6bb33a2a1eb3d4ec403e0 1838 python2.5_2.5.5-1.dsc
>  ef1ceb93d4eb8bf83c4495070d39bd044f6cb495 11649357
> python2.5_2.5.5.orig.tar.gz
>  4efc5d6b48f65f1c24bf342f684e3f34a4080273 214285 python2.5_2.5.5-1.diff.gz
>  14058ef3d25db4b81a1998f5aee9e13aebd70160 648942
> python2.5-examples_2.5.5-1_all.deb
>  9b8436d51a12312afda8d8f6af0547c8ef30f48f 68830
> idle-python2.5_2.5.5-1_all.deb
>  dd65762c627acf774bacdafc66f89f778a0d9eca 2916192
> python2.5_2.5.5-1_i386.deb
>  33e52638e3e98e0541b234e012410854be8fed48 1199874
> python2.5-minimal_2.5.5-1_i386.deb
>  5a133a5bc7992b63f73dc79571675be74c03bbf9 1894904
> python2.5-dev_2.5.5-1_i386.deb
>  92c081575439171194d9d4c84a8c59f3dd6c8112 7330824
> python2.5-dbg_2.5.5-1_i386.deb
> Checksums-Sha256:
>  4fd5ee2d285dd8d64321932027c75456a574a6c0fedc06a7cec3330c2e984379 1838
> python2.5_2.5.5-1.dsc
>  12691393edb4ff747938d0f2549ae9e14db69f9a13c5ff3501b241d1a80afec9 11649357
> python2.5_2.5.5.orig.tar.gz
>  6958b0689a2b22058b18b78f12ed11511b162e4bdbae35507931d0e6658755d3 214285
> python2.5_2.5.5-1.diff.gz
>  6517329e991694b92529e7f070b979bd8f9a126e7e6d175ce1252865ca76ab7d 648942
> python2.5-examples_2.5.5-1_all.deb
>  4dc01cf3b764168c775ca7c056a9e5eff9d957dd9f0713114a6a2b020ea24bc3 68830
> idle-python2.5_2.5.5-1_all.deb
>  79bf100fbb41b0d83dbf126be6129c60c2753848780a7bf0c316d0371119ccdc 2916192
> python2.5_2.5.5-1_i386.deb
>  7e8ab014e5ac9512aa9562f9320cdf0678ccdd76d3086be26f86874e070e4081 1199874
> python2.5-minimal_2.5.5-1_i386.deb
>  9b72df9f7c7b567e6025ad090eb34c9ed7e88971716a03f3d9c717f0fed60ca7 1894904
> python2.5-dev_2.5.5-1_i386.deb
>  77d4fa1925873a97dd4dc49dae390244bc01e496cd537a7fbf45b6cd83f103ff 7330824
> python2.5-dbg_2.5.5-1_i386.deb
> Files:
>  9c849637943d0983c62f4840154bcd4e 1838 python optional
> python2.5_2.5.5-1.dsc
>  f5be9f1be48227ddf6b627e72036bdfe 11649357 python optional
> python2.5_2.5.5.orig.tar.gz
>  18a8dba32699f6ae4f99bdda0a3c2849 214285 python optional
> python2.5_2.5.5-1.diff.gz
>  7f2dd4ab928d5dea3ecb8cf7ca10b1d4 648942 python optional
> python2.5-examples_2.5.5-1_all.deb
>  97d7f5fe7e1258e635129aa8681d5b8a 68830 python optional
> idle-python2.5_2.5.5-1_all.deb
>  ea7ca8a2918d6e5ae282f27cfae391d2 2916192 python optional
> python2.5_2.5.5-1_i386.deb
>  b09b4126d6f997e0f2c46a60cf14de15 1199874 python optional
> python2.5-minimal_2.5.5-1_i386.deb
>  99cc01799a0590eff5eb91b9435afb85 1894904 python optional
> python2.5-dev_2.5.5-1_i386.deb
>  c101d4d8f36567dba554ef799f1d805d 7330824 python extra
> python2.5-dbg_2.5.5-1_i386.deb
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAktl2p4ACgkQStlRaw+TLJwZuACghivDj8yq1RWRN6txh67CiYyE
> exgAnAotb/fZnoTtNercDaxP3lZD/ZWa
> =J1JK
> -----END PGP SIGNATURE-----
>
>
>
>
> ---------- Forwarded message ----------
> From: "Michal Božoň" <michal.bo...@gmail.com>
> To: Debian Bug Tracking System <sub...@bugs.debian.org>
> Date: Fri, 24 Jul 2009 19:11:11 +0200
> Subject: idle: Tk(inter) bug - completion tooltips don't work
> Package: idle
> Version: 2.5.4-2
> Severity: important
> Tags: patch
>
> Autocompletion tooltips, which normally popup to describe function
> parameters, e.g. after typing: int(<TAB>, don't work properly.
> Instead, error occurs and empty window pops up:
>
> Exception in Tkinter callback
> Traceback (most recent call last):
>  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1417, in __call__
>    return self.func(*args)
>  File "/usr/lib/python2.5/idlelib/MultiCall.py", line 151, in handler
>    r = l[i](event)
>  File "/usr/lib/python2.5/idlelib/CallTips.py", line 55, in
> try_open_calltip_event
>    self.open_calltip(False)
>  File "/usr/lib/python2.5/idlelib/CallTips.py", line 79, in open_calltip
>    self.calltip.showtip(arg_text, sur_paren[0], sur_paren[1])
>  File "/usr/lib/python2.5/idlelib/CallTipWindow.py", line 66, in showtip
>    self.position_window()
>  File "/usr/lib/python2.5/idlelib/CallTipWindow.py", line 35, in
> position_window
>    self.parencol))
>  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 2860, in bbox
>    self.tk.call((self._w, 'bbox') + args)) or None
>  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1033, in _getints
>    return tuple(map(getint, self.tk.splitlist(string)))
> ValueError: invalid literal for int() with base 10: '(56,'
>
> This is caused by some python2.5 / tk8.5 incompatibility described here:
> http://bugs.python.org/issue2693
>
> Following patch fixes the issue:
>
> --- /usr/lib/python2.5/idlelib/WidgetRedirector.py.orig 2009-07-24
> 18:43:57.000000000 +0200
> +++ /usr/lib/python2.5/idlelib/WidgetRedirector.py      2009-07-24
> 18:49:39.000000000 +0200
> @@ -53,7 +53,10 @@
>             if m:
>                 return m(*args)
>             else:
> -                return self.tk.call((self.orig, cmd) + args)
> +                result = self.tk.call((self.orig, cmd) + args)
> +                if isinstance(result, tuple):
> +                    result = '{%s}' % '} {'.join(map(str, result))
> +                return result
>         except TclError:
>             return ""
>
>
> -- System Information:
> Debian Release: squeeze/sid
>  APT prefers testing
>  APT policy: (500, 'testing'), (1, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
>
> Versions of packages idle depends on:
> ii  python                        2.5.4-2    An interactive high-level
> object-o
> ii  python-tk                     2.5.2-1.1  Tkinter - Writing Tk
> applications
>
> idle recommends no packages.
>
> idle suggests no packages.
>
> -- no debconf information
>
>
>
>

Reply via email to