[issue1409] new keyword-only function parameters interact badly with nested functions
Amaury Forgeot d'Arc added the comment: Corrected as r59155. Thanks for the report! -- nosy: +amaury.forgeotdarc resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1409 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1409] new keyword-only function parameters interact badly with nested functions
Christian Heimes added the comment: I set this bug to accepted because I was able to reproduce it yesterday. It's all in the history. Scroll down, pal! :) -- nosy: +tiran __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1409 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1409] new keyword-only function parameters interact badly with nested functions
Georg Brandl added the comment: I think you misunderstood the meaning of accepted in our tracker - it may mean I confirm that this is a bug somewhere else, here it means patch accepted. -- nosy: +georg.brandl __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1409 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1409] new keyword-only function parameters interact badly with nested functions
Christian Heimes added the comment: Oh, I misinterpreted the meaning of accepted. Can somebody please add a confirmed resolution? __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1409 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1409] new keyword-only function parameters interact badly with nested functions
Georg Brandl added the comment: Please discuss that in the meta tracker (see the report tracker problem link in the sidebar). __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1409 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1409] new keyword-only function parameters interact badly with nested functions
Christian Heimes added the comment: Please discuss that in the meta tracker (see the report tracker problem link in the sidebar). Done http://psf.upfronthosting.co.za/roundup/meta/issue167 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1409 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1409] new keyword-only function parameters interact badly with nested functions
New submission from Paul Pogonyshev: Attached scripts fails with 'NameError: free variable 'a' referenced before assignment in enclosing scope'. If you remove '*' in function parameter list, it works. I think it is a bug. -- components: Interpreter Core files: test.py messages: 57277 nosy: _doublep severity: normal status: open title: new keyword-only function parameters interact badly with nested functions type: behavior versions: Python 3.0 Added file: http://bugs.python.org/file8716/test.py __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1409 __# Note that '*,' here is important. def foo(*, a=None): def bar(dictionary): dictionary['a'] = a return dictionary return bar print(foo(a=42)({ })) print(foo()({ })) ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1409] new keyword-only function parameters interact badly with nested functions
Changes by Christian Heimes: -- keywords: +py3k priority: - normal resolution: - accepted __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1409 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1409] new keyword-only function parameters interact badly with nested functions
Guido van Rossum added the comment: I think I agree this is a bug. Who is setting all bugs to 'accepted'? -- nosy: +gvanrossum resolution: accepted - __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1409 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com