Message243487
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. |
|
Date |
User |
Action |
Args |
2015-05-18 15:22:46 | Arfrever | set | recipients:
+ Arfrever, gvanrossum, ncoghlan, scoder, vstinner, asvetlov, yselivanov |
2015-05-18 15:22:46 | Arfrever | set | messageid: <1431962566.65.0.486130789822.issue24227@psf.upfronthosting.co.za> |
2015-05-18 15:22:46 | Arfrever | link | issue24227 messages |
2015-05-18 15:22:46 | Arfrever | create | |
|