On Sun, 18 Feb 2018 22:38:54 +0100 Christian Buhtz <[email protected]>
wrote:
> Package: python-tktreectrl
> Version: 2.0.1-1
> Severity: normal
>
> Dear Maintainer,
>
> as described in the docs and with an confirmation of the upstream
> maintainr (Michael Lange) I know that tktreectrl can run with Python3,
> too.
>
> Because of that there should be a "python3-tktreectrl" package, too.
I am certain that at least one (if not the only) reason that there is no
package for Python3 is the fact that there is a bug in version 2.0.1 when
used with Python versions >= 3.5 , which renders it virtually unusable
for any debian release newer than Jessie.
After you (Christian Buhtz) sent me the PM pointing me to exceptions
occurring with Python3, I was able to add a workaround (actually a rather
quick shot, without at first fully comprehending what caused the
exceptions) to Treectrl.py and release the fixed version 2.0.2 .
Today I finally found the time to dig deeper and saw that the reason for
the exceptions was the fact that since Python-3.5 the internal _getints()
function raises a TclError rather than a ValueError when it is "fed" with
illegal values, which confirms that the workaround I used for 2.0.2 is
valid.
So as far as I can see, it should be possible now, if the package
maintainer finds the time, to add a python3-tktreectrl package, but this
surely would not have been wise with v. 2.0.1.
Best regards
Michael
.-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-.
I'm a soldier, not a diplomat. I can only tell the truth.
-- Kirk, "Errand of Mercy", stardate 3198.9