
report at bugs
Jul 9, 2009, 3:22 PM
Post #1 of 3
(255 views)
Permalink
|
|
[issue6323] Py3.1 pdb doesn't deal well with syntax errors
|
|
Vladislav <kurtoglu [at] list> added the comment: >>> lambda: pass SyntaxError: invalid syntax (<pyshell#0>, line 1) >>> lambda: pas <function <lambda> at 0x00F5C858> >>> func_1=lambda: pas >>> func_1() Traceback (most recent call last): File "<pyshell#3>", line 1, in <module> func_1() File "<pyshell#2>", line 1, in <lambda> func_1=lambda: pas NameError: global name 'pas' is not defined >>> func_1=lambda: pass SyntaxError: invalid syntax (<pyshell#4>, line 1) >>> This is very funny:) ---------- components: +Windows -Library (Lib) nosy: +kurtoglu type: behavior -> crash _______________________________________ Python tracker <report [at] bugs> <http://bugs.python.org/issue6323> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|