Author brunogola
Recipients belopolsky, brunogola
Date 2008-05-10.20:02:55
SpamBayes Score 0.00122629
Marked as misclassified No
Message-id <>
Should nested tuples in an except clause be a valid syntax?
except ((ValueError, Exception), TypeError, (...)):

I don't see any benefit and because of this behavior the implementation
(in Python/errors.c and in the patch attached) will use recursive function. 

I think that any objects inside a tuple in an except clause should be
treated equally (as an object), even a tuple, so the except clause above
should be an error in py3k and should produce a warning because the list
objects does not inherits BaseException.

Please, see my comment in, it is
related to this issue.
Date User Action Args
2008-05-10 20:02:57brunogolasetspambayes_score: 0.00122629 -> 0.00122629
recipients: + brunogola, belopolsky
2008-05-10 20:02:56brunogolasetspambayes_score: 0.00122629 -> 0.00122629
messageid: <>
2008-05-10 20:02:56brunogolalinkissue2380 messages
2008-05-10 20:02:55brunogolacreate