python-twisted-web package contains assertion that is always true
Bug #364141 reported by
Martin Olsson
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
twisted-web (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
1. boot jaunty RC live CD
2. install package "python-
3. the following is printed:
Setting up python-twisted-web (8.2.0-0ubuntu1) ...
/usr/lib/
assert (oldChild.
Note: the semantics of assert() has changed a lot between python 2.5 and 3.0 (not sure which way python 2.6 leans)
LAST PACKAGE TESTED:
python-twisted-web (8.2.0-2ubuntu1) ...
To post a comment you must log in.
I can confirm this behavior with package version 8.2.0-2.
the warning is not raised with python2.5
zsh 618 % python2.5 /usr/lib/ python2. 6/dist- packages/ twisted/ web/microdom. py
zsh 619 % python2.6 /usr/lib/ python2. 6/dist- packages/ twisted/ web/microdom. py python2. 6/dist- packages/ twisted/ web/microdom. py:181: SyntaxWarning: assertion is always true, perhaps remove parentheses? parentNode is self,
/usr/lib/
assert (oldChild.