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 Isaac Elliott
Recipients Isaac Elliott
Date 2018-03-26.23:57:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522108643.61.0.467229070634.issue33149@psf.upfronthosting.co.za>
In-reply-to
Content
python3's parser stack overflows on deeply-nested expressions, for example:

[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]

or

aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa()))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

These are both minimal examples, so if you remove one level of nesting from either then python3 will behave normally.
History
Date User Action Args
2018-03-26 23:57:24Isaac Elliottsetrecipients: + Isaac Elliott
2018-03-26 23:57:23Isaac Elliottsetmessageid: <1522108643.61.0.467229070634.issue33149@psf.upfronthosting.co.za>
2018-03-26 23:57:23Isaac Elliottlinkissue33149 messages
2018-03-26 23:57:23Isaac Elliottcreate