[IPython-dev] Status of py3k ipython

Thomas Kluyver takowl at gmail.com
Mon Oct 4 20:00:58 EDT 2010


>
> OK, I'll get onto that this evening. In fact, if we use PyBytes, it looks
> like we can make a version that works for 2.6 and 3.x, although I think that
> wouldn't work for anything before 2.6.
>

I've made the changes to use bytes, and updated the code with recent
changes. Issues it still faces:
- Buffers: It won't compile on Python 3 with references to old-style buffer
methods (e.g. PyBuffer_FromObject, Py_END_OF_BUFFER). This is the remaining
bit commented out. The new MemoryView method isn't in Python 2.6 (it comes
in with 2.7), so that falls over at runtime with the section commented out.
- There's a circular import between zmq/core/socket and zmq/core/context,
which goes into endless recursion when trying to import either of them in
Python 3.

http://github.com/takowl/pyzmq/tree/new-py3zmq

Thanks,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20101005/66712f80/attachment.html>


More information about the IPython-dev mailing list