New submission from Arfrever Frehtes Taifersar Arahesis:
Revision eeeb666a5365 causes "IndentationError: too many levels of indentation"
sometimes, e.g. in regenerated IN.py module (e.g. Lib/plat-linux/IN.py).
$ ./python -c 'import IN'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/cpython/Lib/plat-linux/IN.py", line 710
def IN6_IS_ADDR_UNSPECIFIED(a): return \
^
IndentationError: too many levels of indentation
I attach regenerated version of Lib/plat-linux/IN.py, which allows to reproduce
this problem. (Regeneration was performed by Lib/plat-linux/regen.)
I suspect that the problem is in changes in Parser/tokenizer.c.
----------
components: Interpreter Core
files: IN.py
messages: 243487
nosy: Arfrever, asvetlov, gvanrossum, haypo, ncoghlan, scoder, yselivanov
priority: release blocker
severity: normal
status: open
title: IndentationError caused by async / await changes in parser
versions: Python 3.5
Added file: http://bugs.python.org/file39419/IN.py
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24227>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com