[issue3060] Warn about tuple parameters

2008-06-08 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Done with r64045. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3060] Warn about tuple parameters

2008-06-08 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Replace "upacking" with "unpacking" and you can commit it :) ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3060] Warn about tuple parameters

2008-06-08 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: > Why not warn in the AST, like for the other syntax-related changes? because I was reading through symtable.c at the time. :) Anyway, here's a better patch. Added file: http://bugs.python.org/file10553/tuple_parameters_warn2.patch

[issue3060] Warn about tuple parameters

2008-06-08 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Also a test is missing. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list maili

[issue3060] Warn about tuple parameters

2008-06-08 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Why not warn in the AST, like for the other syntax-related changes? The relevant location is ast_for_arguments, line 680 in current SVN. ___ Python tracker <[EMAIL PROTECTED]>

[issue3060] Warn about tuple parameters

2008-06-07 Thread Benjamin Peterson
New submission from Benjamin Peterson <[EMAIL PROTECTED]>: This patch adds Py3k warnings to nested tuple parameters. -- assignee: georg.brandl components: Interpreter Core files: tuple_parameters_warn.patch keywords: patch messages: 67820 nosy: benjamin.peterson, georg.brandl severity: n