On 1/23/07, Nick Coghlan <[EMAIL PROTECTED]> wrote: > Phillip J. Eby wrote: > > The 2-expression "raise" statement translation is incorrect in the general > > case; it is possible for the second argument to be an instance of the first > > argument, in which case 'raise E, V' should become just 'raise V'. This is > > not detectable by the refactoring tool, AFAIK. > > There is another issue which currently isn't entirely clear in this PEP > or in PEP 352 - what happens to except statements which raise a subtype > of Exception instead of an instance of it. >
>From PEP 352's perspective, it should still work. The PEP only made exceptions new-style and ditched some methods. It in no way addresses changes in syntax. -Brett _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
