简体   繁体   English

Tix和Python 3.0

[英]Tix and Python 3.0

Has anyone seen anything in Tix work under python 3.0? 有没有人看到Tix中的任何内容在python 3.0下工作? I've tried to work through the examples but when creating anything it states that cnf is unsubscriptable. 我已经尝试了这些示例,但是在创建任何示例时都指出cnf无法订阅。

I also noticed that none of the Dir Select stuff (DirList DirTree) works under 2.6.1. 我还注意到,Dir Select东西(DirList DirTree)在2.6.1下均不起作用。

Why doesn't Python either dump Tix or support it? Python为什么不转储或支持Tix? Its got a lot of good stuff to make easy programs. 它有很多好的东西可以简化程序。

Likely what happened is that no one noticed the bug. 可能发生的是没有人注意到该错误。 (It's very hard to automatically test GUI libraries like Tix and Tkinter.) You should report bugs as you find them to http://bugs.python.org . (很难自动测试Tix和Tkinter之类的GUI库。)您应在发现错误时向http://bugs.python.org报告错误。

Generally speaking, if you're using third-party modules, you're better off avoiding Python 3.0 for now. 一般来说,如果您使用的是第三方模块,最好暂时不要使用Python 3.0。 If you're working on a third-party module yourself, porting forward to Python 3.0 is a good idea, but for the time being general development in it is just going to be a recipe for pain. 如果您自己在开发第三方模块,那么移植到Python 3.0是一个好主意,但是就目前而言,进行一般性开发只是一个痛苦的秘诀。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM