String exceptions

2012-05-27 Thread Jakub Wilk
I implemented a check for string exception in lintian4python and run it 
on the whole archive (which was a slightly out of date sid). The results 
are attached.


Sadly, despite a MBF almost 2 years ago (thanks, Sandro!), there are 
still tons of packages using this ex-feature. Not only the old bugs 
haven't been fixed completely, but also new ones appeared.


Any volunteers to file new bugs?

--
Jakub Wilk
Adam C. Powell, IV 
   code-aster-engine (U)
   code-aster-mpi-engine (U)
   python-sparse

Adam Majer 
   qtcreator (U)

Alastair McKinstry 
   libcmor-dev
   python-drslib
   python-sphere

Albert Huang 
   python-bluez (U)

Alejandro Garrido Mota 
   editra

Alessio Treglia 
   blender (U)

Alexander Sack 
   icedove-dev

Alexey Nezhdanov 
   python-xmpp

Anders Hammarquist 
   supervisor

Andrea Palazzi 
   code-aster-engine (U)
   code-aster-mpi-engine (U)

Andreas Cord-Landwehr 
   kdevelop-data (U)

Andreas Tille 
   autodock-test (U)
   autodocktools (U)
   cain (U)
   mgltools-molkit (U)
   mgltools-pmv (U)
   mgltools-pyautodock (U)
   pdb2pqr (U)
   python-cogent (U)

Anton Gladky 
   gmsh (U)
   paraview-python (U)
   yade (U)

Arnaud Fontaine 
   zope2.12 (U)

Arnaud Quette 
   python-moovida (U)

Arthur Gautier 
   shinken-broker

Arto Jantunen 
   bcfg2-server

Asias He 
   ibus-xkbc (U)

Barry deFreese 
   python-tp-netlib (U)
   tpclient-pywx (U)

Bastian Blank 
   cman (U)
   mklibs-copy (U)

Benedict Verhegghe 
   pyformex

Bernd Zeimetz 
   python-qt3-doc (U)
   python-support (U)

Bjorn Ove Grotan 
   luma (U)

Cajus Pollmeier 
   python-qmf
   python-qmf2
   python-qpid

Carl Chenet 
   python-tornado (U)
   python3-tornado (U)
   synopsis (U)

Charles Plessy 
   autodock-test (U)

Christian Bayle 
   gforge-web-apache2 (U)

Christian Marillat 
   gourmet

Christoph Goehre 
   icedove-dev (U)

Christophe Prud'homme 
   gmsh (U)
   paraview-python (U)

Christophe Trophime 
   eficas (U)
   gmsh (U)

Christopher Schramm 
   blueman

Cleto Martín 
   ice34-services (U)

Colin Watson 
   putty-tools

Cosimo Alfarano 
   python-jabber
   python-xmpp (U)

Cédric Delfosse 
   gaphor

Daniel Burrows 
   musiclibrarian

Daniel Hahler 
   boinc-server-maker (U)

Daniel Leidert (dale) 
   bluefish-data

David Paleino 
   postr

Debian Accessibility Team 
   cicero

Debian Bluetooth Maintainers 
   python-bluez

Debian BOINC Maintainers 
   boinc-server-maker

Debian Boost Team 
   libboost1.46-dev
   libboost1.49-dev

Debian Calendarserver Team 
   python-pydirector

Debian Chromium Maintainers 
   gyp

Debian freesmartphone.org Team 
   fso-frameworkd

Debian Games Team 
   bubbros
   python-tp-netlib
   tpclient-pywx

Debian GNOME Maintainers 
   hamster-applet

Debian HA Maintainers 
   cman

Debian Install System Team 
   mklibs-copy

Debian Javascript Maintainers 
   nodejs-dev

Debian Med Packaging Team 
   autodock-test
   autodocktools
   cain
   mgltools-molkit
   mgltools-pmv
   mgltools-pyautodock
   python-cogent

Debian Multimedia Maintainers 

   advene
   blender
   libclam-dev
   streamtuner2

Debian OLPC 
   python-box2d-doc
   sugar-physics-activity
   sugar-pippy-activity

Debian Python Modules Team 
   python-foolscap
   python-forgetsql
   python-gluon (U)
   python-myghty
   python-myghtyutils
   python-networkx
   python-nevow (U)
   python-pysnmp4-doc (U)
   python-qt3-doc
   python-springpython
   python-storm
   python-swiginac
   python-tornado
   python3-tornado
   transifex-client (U)

Debian QA Group 
   python-pythoncard
   python-tlslite

Debian Qt/KDE Maintainers 
   kdevelop-data
   qtcreator

Debian Science Maintainers 
   gmsh
   pymca
   yade

Debian Science Team 
   code-aster-engine
   code-aster-mpi-engine
   eficas
   paraview-python
   slicer

Debian Scientific Computing Team 
   cpushare

Debian TeX Maintainers 
   texlive-extra-utils

Debian/Ubuntu Zope Team 
   zope2.12

DebiChem Team 
   pdb2pqr

Debichem Team 
   python-cclib
   python-rdkit

Deepak Tripathi 
   python-pysnmp4-doc (U)

Domenico Andreoli 
   libboost1.46-dev (U)
   libboost1.49-dev (U)

Dominique Belhachemi 
   slicer (U)

Don Armstrong 
   lilypond-data

Emilio Pozuelo Monfort 
   spe (U)

Erich Schubert 
   selinux-policy-dev (U)

Erik Wenzel 
   darcsweb (U)

Fabian Linzberger 
   darcsweb

Fathi Boudra 
   kdevelop-data (U)
   qtcreator (U)

Francisco Moya 
   ice34-services

Frank Küster 
   texlive-extra-utils (U)

Frederik Schüler 
   cman (U)

George Kiagiadakis 
   kdevelop-data (U)

Georges Khaznadar 
   python-pygrace

Gerfried Fuchs 
   gitolite

Ghe Rivero 
   python-novnc (U)

Giuseppe Iuculano 
   gyp (U)

Guido Günther 
   cman (U)
   icedove-dev (U)
   python-pydirector (U)

Henry-Nicolas Tourneur 
   exabgp

IME Packaging Team 
   ibus-xkbc
   python-sunpinyin

Ivo Maintz 
   cain (U)

J. Félix Ontañón 
   udev-discover

Jan Lübbe 
   python-pysnmp4-doc

Janos Guljas 
   transifex-client

Jeff Bailey 
   mklibs-copy (U)

Jeremy Lainé 
   kdevelop-data (U)
   qtcr

Assertions that are always true

2012-05-27 Thread Jakub Wilk

It's a mistake to write

 assert(tilsit, 'Never at the end of the week, sir.')

instead of

 assert tilsit, 'Never at the end of the week, sir.'

The former assertion is always true, and thus no-op. Python >= 2.6 emits 
a SyntaxWarning about this.


I implemented lintian4python check for such issues and ran it against 
all packages in (somewhat out of date) unstable. The results are 
attached.


Any volunteers to file bugs?

--
Jakub Wilk
Andrew Pollock 
   pymetrics

Debian freesmartphone.org Team 
   fso-frameworkd

Debian Python Modules Team 
   python-myghty

Debian QA Group 
   gdesklets
   python-toscawidgets

Debichem Team 
   python-rdkit

Joachim Breitner 
   fso-frameworkd (U)

Luca Capello 
   fso-frameworkd (U)

Michael Banck 
   python-rdkit (U)

Oleksandr Moskalenko 
   python-myghty (U)

Rico Rommel 
   fso-frameworkd (U)

Sebastian Reichel 
   fso-frameworkd (U)

Toni Mueller 
   roundup