[issue2371] Patch for catching exceptions that do not inherit from BaseException

2008-03-17 Thread Taek Joo Kim
New submission from Taek Joo Kim <[EMAIL PROTECTED]>: With this patch it prints warning message for catching exceptions that don't inherit from BaseException when -3 flag is used. -- components: Interpreter Core files: catchexc.patch keywords: patch messages: 63761 nosy: taic

[issue2344] Using an iteration variable outside a list comprehension needs a Py3K warning

2008-03-17 Thread Taek Joo Kim
Taek Joo Kim <[EMAIL PROTECTED]> added the comment: >>> i = 3 >>> [i for i in range(10)] >>> i 9 In 2.6, the original value of a variable is changed by the list comprehension. In 3.0, it is not. To fix this, we need many changes

[issue2367] Fixer to handle new places where parentheses are needed

2008-03-18 Thread Taek Joo Kim
Taek Joo Kim <[EMAIL PROTECTED]> added the comment: This patch handles the conversion. -- keywords: +patch nosy: +taicki Added file: http://bugs.python.org/file9747/i2367.patch __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho