[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Possible Mass Bug Filing: String Exceptions Removed in Python 2.6



OoO En ce  milieu de nuit étoilée du dimanche 06  juin 2010, vers 04:43,
Scott Kitterman <debian@kitterman.com> disait :

> A couple of weeks ago, Jakub Wilk noticed this issue and prepared both a DD 
> list of affected packages and the grep output that was used to detect 
> potentially affected packages.  I know some of these packages have been fixed 
> already.  Please reply to debian-python with fix reports or reports of false 
> positives.

False positive  for python-nevow (the string  is in an  example, I won't
fix it). For python-soya and pyvnc2swf, I need to fix them.

Please  note that  even with  the fact  that string  exceptions  are not
supported, they  raise a TypeError  exception.  Since the  (almost) only
way  to  catch  a string  exception  is  to  catch all  exceptions,  the
TypeError would be catched as  well. Therefore, using a string exception
is a minor bug, IMO.

I say this  because this kind of  mass bug report will be  used again to
explain why python2.6  is still not the default in  sid.  We still don't
know if our packages will _run_  with python2.6 and we will know it only
just before the release if we keep postponing switch to 2.6.
-- 
Use recursive procedures for recursively-defined data structures.
            - The Elements of Programming Style (Kernighan & Plauger)

Attachment: pgp10pg89I_hG.pgp
Description: PGP signature


Reply to: