Re: [Python-Dev] problem with genexp

2006-02-24 Thread Neal Norwitz
On 2/20/06, Jiwon Seo [EMAIL PROTECTED] wrote: Regarding this Grammar change; (last October) from argument: [test '=' ] test [gen_for] to argument: test [gen_for] | test '=' test ['(' gen_for ')'] - to raise error for bar(a = i for i in range(10)) ) I think we should

Re: [Python-Dev] problem with genexp

2006-02-20 Thread Jiwon Seo
Regarding this Grammar change; (last October) from argument: [test '=' ] test [gen_for] to argument: test [gen_for] | test '=' test ['(' gen_for ')'] - to raise error for bar(a = i for i in range(10)) ) I think we should change it to argument: test [gen_for] | test '='

Re: [Python-Dev] problem with genexp

2005-10-17 Thread Jiwon Seo
On 10/16/05, Neal Norwitz [EMAIL PROTECTED] wrote: On 10/10/05, Neal Norwitz [EMAIL PROTECTED] wrote: There's a problem with genexp's that I think really needs to get fixed. See http://python.org/sf/1167751 the details are below. This code: foo(a = i for i in range(10)) I agree

Re: [Python-Dev] problem with genexp

2005-10-16 Thread Neal Norwitz
On 10/10/05, Neal Norwitz [EMAIL PROTECTED] wrote: There's a problem with genexp's that I think really needs to get fixed. See http://python.org/sf/1167751 the details are below. This code: foo(a = i for i in range(10)) I agree with the bug report that the code should either raise a

Re: [Python-Dev] problem with genexp

2005-10-11 Thread Nick Coghlan
Neal Norwitz wrote: There's a problem with genexp's that I think really needs to get fixed. See http://python.org/sf/1167751 the details are below. This code: I agree with the bug report that the code should either raise a SyntaxError or do the right thing. I agree it should be a

Re: [Python-Dev] problem with genexp

2005-10-11 Thread Jeremy Hylton
On 10/11/05, Nick Coghlan [EMAIL PROTECTED] wrote: Neal Norwitz wrote: There's a problem with genexp's that I think really needs to get fixed. See http://python.org/sf/1167751 the details are below. This code: I agree with the bug report that the code should either raise a SyntaxError

Re: [Python-Dev] problem with genexp

2005-10-11 Thread Nick Coghlan
Nick Coghlan wrote: Neal Norwitz wrote: There's a problem with genexp's that I think really needs to get fixed. See http://python.org/sf/1167751 the details are below. This code: I agree with the bug report that the code should either raise a SyntaxError or do the right thing. I agree it