This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Arfrever
Recipients Arfrever, asvetlov, gvanrossum, ncoghlan, scoder, vstinner, yselivanov
Date 2015-05-18.15:22:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431962566.65.0.486130789822.issue24227@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-05-18 15:22:46Arfreversetrecipients: + Arfrever, gvanrossum, ncoghlan, scoder, vstinner, asvetlov, yselivanov
2015-05-18 15:22:46Arfreversetmessageid: <1431962566.65.0.486130789822.issue24227@psf.upfronthosting.co.za>
2015-05-18 15:22:46Arfreverlinkissue24227 messages
2015-05-18 15:22:46Arfrevercreate