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 /usr/lib/python2.6/dist-packages/twisted/web/microdom.py:181: SyntaxWarning: assertion is always true, perhaps remove parentheses? assert (oldChild.parentNode is self,
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.