差异:Python 2.3和Python 2.4 [英] Diffrences: Python 2.3 and Python 2.4

查看:91
本文介绍了差异:Python 2.3和Python 2.4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我有一个用Python 2.3编写的应用程序,wxPython 2.4,C ++,OpenGL

操作系统:Fedora Core 3


现在我需要使用Python 2.4和wxPython 2.6 OS升级它:Fedora Core 6

有一些小错误,很容易修复

但是现在我得到了这个Segmentation fault错误消息


Python 2.3和Python 2.4之间的差异是什么?

wxPython 2.4和wxPython 2.6之间的差异是什么?

Hi there,

I have an application written in Python 2.3, wxPython 2.4 , C++, OpenGL
OS: Fedora Core 3

Now I need to upgrade it using Python 2.4 and wxPython 2.6 OS: Fedora Core 6
There was a few minor faults and it was easy to fix
But now I get this Segmentation fault error message

What is the diffrences between Python 2.3 and Python 2.4?
What is the diffrences between wxPython 2.4 and wxPython 2.6?

推荐答案


你好,


我有一个用Python 2.3编写的应用程序,wxPython 2.4,C ++,OpenGL

操作系统:Fedora Core 3


现在我需要使用Python 2.4和wxPython 2.6 OS升级它:Fedora Core 6

有一些小错误,很容易修复

但是现在我得到这个Segmentation fault错误消息


Python 2.3和Python 2.4之间的差异是什么?

wxPython 2.4和wxPython 2.6之间的差异是什么?
Hi there,

I have an application written in Python 2.3, wxPython 2.4 , C++, OpenGL
OS: Fedora Core 3

Now I need to upgrade it using Python 2.4 and wxPython 2.6 OS: Fedora Core 6
There was a few minor faults and it was easy to fix
But now I get this Segmentation fault error message

What is the diffrences between Python 2.3 and Python 2.4?
What is the diffrences between wxPython 2.4 and wxPython 2.6?



当尝试将使用早期版本的核心包含和头文件编译的模块导入更新版本的python时,似乎会出现大问题。在Widows上,我们得到一个非常明确的信息,例如用早期版本的python编译的。我还读到,编译的模块应该使用THE SAME编译器构建,因为python是用它构建的,但是,再次,这个问题在Windows上很少见,因为python的生产版本是用VC ++构建的。因此,如果您有源代码,则可以使用当前的include和头文件编译麻烦的模块。如果没有查找当前的二进制文件(我对python-MySQLd有这个问题)。

至于wx,我没有开始使用它直到V2.6并且跳过了部分发行说明谈到了后向兼容性。但我确实知道存在一些问题。当然,截至2006年12月,wx现在处于2.8版本。

The big problems seem to come when attempting to import modules that were compiled with earlier versions of the core include and header files into a newer version of python. On Widows, we get a very clear message that say something like "that was compiled with an earlier version of python". I''ve also read that compiled modules should be built with THE SAME compiler as python was built with, but, again, this issue is seldom seen on Windows because the production version of python is built with VC++. So if you have source code you can compile troublesome modules with current include and header files. If not look for current binaries (I have this problem with python-MySQLd).
As for wx, I didn''t start using it until V2.6 and skipped the part of the release notes that talked about backward compatability. I do know that there are some issues, however. Of course, wx is now in version 2.8 as of December, 2006.



尝试导入模块时似乎遇到了大问题与早期版本的核心包含和头文件编译成较新版本的python。在Widows上,我们得到一个非常明确的信息,例如用早期版本的python编译的。我还读到,编译的模块应该使用THE SAME编译器构建,因为python是用它构建的,但是,再次,这个问题在Windows上很少见,因为python的生产版本是用VC ++构建的。因此,如果您有源代码,则可以使用当前的include和头文件编译麻烦的模块。如果没有查找当前的二进制文件(我对python-MySQLd有这个问题)。

至于wx,我没有开始使用它直到V2.6并且跳过了部分发行说明谈到了后向兼容性。但我确实知道存在一些问题。当然,截至2006年12月,wx现在的版本为2.8。
The big problems seem to come when attempting to import modules that were compiled with earlier versions of the core include and header files into a newer version of python. On Widows, we get a very clear message that say something like "that was compiled with an earlier version of python". I''ve also read that compiled modules should be built with THE SAME compiler as python was built with, but, again, this issue is seldom seen on Windows because the production version of python is built with VC++. So if you have source code you can compile troublesome modules with current include and header files. If not look for current binaries (I have this problem with python-MySQLd).
As for wx, I didn''t start using it until V2.6 and skipped the part of the release notes that talked about backward compatability. I do know that there are some issues, however. Of course, wx is now in version 2.8 as of December, 2006.



我要查看它。但是wxPython只是一个GUI工具包。当然,我也习惯在家中使用Windows。到目前为止,我还没有测试这个程序在windows上的兼容性,感谢您的输入

I am going to check it out. But wxPython is only a GUI toolkit. Off course I am used to working on Windows from home as well. So far I havent test this program''s compatibility on windows, thank you for your input



我要查看它。但是wxPython只是一个GUI工具包。当然,我也习惯在家中使用Windows。到目前为止,我没有测试这个程序在Windows上的兼容性,感谢您的输入
I am going to check it out. But wxPython is only a GUI toolkit. Off course I am used to working on Windows from home as well. So far I havent test this program''s compatibility on windows, thank you for your input



欢迎您提供输入。在过去的6个月里,我已经非常了解wxPython(最常见的小部件和EVT_ *类对象的所有方法),所以如果你有问题,我可以指导你。

You are welcome for the input. I have gotten to know wxPython quite well over the past 6 months (the most common widgets and all the methods of EVT_* class objects), so if you have questions there, I can probably guide you.


这篇关于差异:Python 2.3和Python 2.4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆