tornado 2.1.0 incompatible with python 3.2.3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-tornado (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 12.04 ships with tornado 2.1.0 and python 3.2.3, which is an incompatible combination (tornado 2.1 works with python 3.2.2, but the .3 release breaks things). Tornado 2.2.1 was the first release to include support for Python 3.2.3. If you want to backport the fix to tornado 2.1, the patch is:
https:/
I would also encourage you to at least move to 2.1.1, which fixed some bugs with 2.1.0.
You can verify the installation with "python3 -m tornado.
FYI, I'm the upstream author of tornado. This is also an issue in debian testing, although python3-tornado is not in any stable debian release yet.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python3-tornado 2.1.0-2
ProcVersionSign
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Sun May 13 04:27:21 2012
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 (20120424.1)
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: python-tornado
UpgradeStatus: No upgrade log present (probably fresh install)
thanks for bringing that to our attention.
If you can provide some testcases we could update to 2.1.1
though the backward incompatibility is problematic: compatibility note ~~~~~~~ ~~~~~~~ ~~~~~~~
Backwards-
~~~~~~~
* Listening for ``IOLoop.ERROR`` alone is no longer sufficient for detecting
closed connections on an otherwise unused socket. ``IOLoop.ERROR`` must
always be used in combination with ``READ`` or ``WRITE``.
Is it possible to avoid this? if not how severe is the bug fixed by this?