PyObjC + Python 3.0问题 [英] PyObjC + Python 3.0 Questions

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

问题描述

默认情况下,Cocoa-Python应用程序使用默认的Python运行时版本2.5。如何配置我的Xcode项目,使它将使用较新的Python 3.0运行时?我尝试用较新的版本替换项目中包含的Python.framework,但它不工作。

By default, a Cocoa-Python application uses the default Python runtime which is version 2.5. How can I configure my Xcode project so that it would use the newer Python 3.0 runtime? I tried replacing the Python.framework included in the project with the newer version but it did not work.

另一件事是,PyObjc模块与新版本的Python兼容?

And another thing, are PyObjc modules compatible with the new version of Python?

推荐答案

PyObjC还不支持Python 3.0。根据Ronald Oussoren,一个(的?)PyObjC开发人员,Python 3.0支持是可能的,但尚未实现:

PyObjC does not yet work with Python 3.0. According to Ronald Oussoren, a (the?) PyObjC developer, Python 3.0 support is possible, but not yet implemented:


支持Python 3 .x是在我的todo
列表,但是是不平凡的实现。
PyObjC包含大量的
漂亮的低级C代码,获得
详细信息w.r.t.到3.0
的变化是不容易的。我看过
一个Python 3.x端口,这应该是
相当容易,但它仍然是一对夫妇
的日工作。我不打算工作
在下一个版本的
PyObjC之前,这是太长的过期为
它是。

Support for Python 3.x is on my todo list but is non-trivial to achieve. PyObjC contains a large amount of pretty low-level C code, getting the details w.r.t. to the changes in 3.0 right is not easy. I have looked into a Python 3.x port and this should be fairly easy, but it's still a couple of days work. I'm not planning to work on that before the next release of PyObjC, that's way too long overdue as it is.

我相信补丁会受到欢迎。

I'm sure patches would be welcomed.

这篇关于PyObjC + Python 3.0问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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