[IPython-dev] IPython & ZMQ on Python 3
Wed Dec 29 08:31:13 CST 2010
On Tue, Dec 28, 2010 at 3:29 PM, Brian Granger <firstname.lastname@example.org> wrote:
> On Mon, Dec 20, 2010 at 5:04 PM, Thomas Kluyver <email@example.com> wrote:
>> I'm pleased to announce that, after some changes MinRK made to pyzmq about
>> an hour ago, we've got the new ZMQ communication and the Qt console frontend
>> starting to work on Python 3. This is in addition to the basic shell, which
>> is now fairly stable.
> This is great news! Thanks for pushing on this.
>> I've attached a "hello world" screenshot showing it in colourful action.
>> At present, getting set up to work with it is a bit longwinded (compiling
>> PyQt from source for Python 3). Hopefully this will get easier once
>> packaging for Python 3 is more advanced. In the meantime, Fernando, could I
>> have a wiki page to set out the necessary steps for anyone wanting to play
>> with it?
>> If anyone else is interested in working on it, the main changes I've needed
>> to make are in string (unicode) handling. Various PyQt functions that
>> previously returned QChar or QString objects, in Python 3 return native
>> Python strings, so we have to change how we deal with them.
> Yes, this type of thing tends to be one of the main aspects of Python
> 3 that is a pain.
This feature, where PyQt returns python strings rather than QChar or
QString, is part of PyQt's new API and can be activated for python-2:
More information about the IPython-dev