New submission from Yuri Kanivetsky :
Consider the following script:
# import pdb; pdb.set_trace()
# import re
def f():
import re
print((lambda: re.findall('a', 'aaa'))())
import pdb; pdb.set_trace()
print('test')
f
Yuri Kanivetsky added the comment:
Well, it's just that I was digging into Python's code. And it took me quite a
while to figure out what the variable holds. Running into "ndots" name
clarified that. That generally means that variable name doesn't describe its
con
New submission from Yuri Kanivetsky :
Not a big issue, really. At some point the code switches from "ndots" name:
https://github.com/python/cpython/blob/v3.7.0a3/Python/ast.c#L3385
to "level" name:
https://github.com/python/cpython/blob/v3.7.0a3/Python/Python-ast.c