[Python-bugs-list] [Bug #132313] error message confusing for assignment in lambda

noreply@sourceforge.net noreply@sourceforge.net
Wed, 14 Feb 2001 00:45:30 -0800


Bug #132313, was updated on 2001-Feb-14 00:45
Here is a current snapshot of the bug.

Project: Python
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: nobody
Assigned to : nobody
Summary: error message confusing for assignment in lambda

Details: Python 2.1a1 (#4, Feb 11 2001, 16:05:58) 
[GCC 2.95.2 20000220 (Debian GNU/Linux)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> map(lambda foo: foo[0] = 4, [[1, 2]*3])
SyntaxError: keyword can't be an expression


For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=132313&group_id=5470