Brett Cannon <[EMAIL PROTECTED]> added the comment: Actually, if you go back to 2.4, before BaseException even existed, a try/except with a new-style class in the 'except' clause was also possible. Actual enforcement of what can be in an 'except' clause is a new thing added by PEP 352. Suddenly making this any more than a warning will be too aggressive. And the PEP already stated the transition path.
As I said, I have no problem speeding up PendingDeprecationWarnings in 2.6 and adding Py3K warnings now, but anything more severe in 2.6 (i.e., a DeprecationWarning flat-out) would require python-dev approval. __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2291> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com