Commit 46434095 authored by Stefan Behnel's avatar Stefan Behnel

test comment

parent b5550337
...@@ -20,7 +20,8 @@ def get_locals_items(x, *args, **kwds): ...@@ -20,7 +20,8 @@ def get_locals_items(x, *args, **kwds):
return locals().items() return locals().items()
def get_locals_items_listcomp(x, *args, **kwds): def get_locals_items_listcomp(x, *args, **kwds):
# FIXME: 'item' should *not* appear in locals() ! # FIXME: 'item' should *not* appear in locals() yet, as locals()
# is evaluated before assigning to item !
cdef int z = 5 cdef int z = 5
y = "hi" y = "hi"
return [ item for item in locals().items() ] return [ item for item in locals().items() ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment