[Python-modules-team] Bug#589171: core/view.py: DeprecationWarning
Enrico Zini
enrico at debian.org
Thu Jul 15 14:52:16 UTC 2010
Package: python-toscawidgets
Version: 0.9.7.2-1
Severity: normal
Hello, and thanks for maintaning ToscaWidgets.
It seems that python2.6 raises a DeprecationWarning in ToscaWidgets
code:
enrico at viaza:~/dev/cfget$ nosetests
/usr/lib/pymodules/python2.6/tw/core/view.py:223: DeprecationWarning: object.__new__() takes no parameters
obj = object.__new__(cls, *args, **kw)
..........
----------------------------------------------------------------------
Ran 10 tests in 0.029s
OK
<despair>
It is interesting to note that the warning is triggered when running
nosetests on cfget, which is a tiny little script of one single file
that doesn't use anything outside of the normal python standard library.
Oh, well, even when just running nosetests --help:
$ nosetests --help
/usr/lib/pymodules/python2.6/tw/core/view.py:223: DeprecationWarning: object.__new__() takes no parameters
obj = object.__new__(cls, *args, **kw)
Usage: nosetests [options]
I have no idea what went through the mind of whoever designed things so
that a DeprecationWarning in ToscaWidgets would show in such conditions,
but oh my god there is so much wrong accumulating in the Python
ecosystem that every day is a new experience in setting a new low.
This has nothing to do with this bug, though.
</despair>
Ciao,
Enrico
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-toscawidgets depends on:
ii python-formencode 1.2.2-1 validation and form generation Pyt
ii python-simplejson 2.1.1-1 simple, fast, extensible JSON enco
ii python-support 1.0.9 automated rebuilding support for P
ii python-webob 0.9.8-1 Python module providing WSGI reque
python-toscawidgets recommends no packages.
Versions of packages python-toscawidgets suggests:
ii python-cheetah 2.4.2.1-1 text-based template engine and Pyt
ii python-genshi 0.6-1 Python XML-based template engine
ii python-kid 0.9.6-2 simple Pythonic template language
-- no debconf information
More information about the Python-modules-team
mailing list