artxyz added the comment:
@davin Thanks for your answer! I will update to the current version.
--
___
Python tracker
<http://bugs.python.org/issue17560>
___
___
artxyz added the comment:
This is still an issue in Python 2.7.5
Will it be fixed?
--
nosy: +artxyz
___
Python tracker
<http://bugs.python.org/issue17
artxyz added the comment:
I got it now. Thanks!
--
___
Python tracker
<http://bugs.python.org/issue28241>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from artxyz:
Python 2.7.11
GCC 4.8.4
Getting weird results when define a nested function in a loop and store them in
a list
x = list()
for i in xrange(5):
def FUN():
print i
x.append(FUN)
Calling functions from list using index works fine