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 snordhausen
Recipients snordhausen
Date 2017-12-18.16:29:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513614564.0.0.213398074469.issue32368@psf.upfronthosting.co.za>
In-reply-to
Content
The following code reproducibly segfaults in version 2.7.13, 3.6.3 and the current git master (3.7.0a3+):


code = "42 if True else 43\n" * 200000
compile(code, "foobar", "exec")


This issue was originally found because the Jinja templating engine internally produces large tuples with many conditional expressions, thus triggering this bug (see https://github.com/pallets/jinja/issues/784 ).
History
Date User Action Args
2017-12-18 16:29:24snordhausensetrecipients: + snordhausen
2017-12-18 16:29:24snordhausensetmessageid: <1513614564.0.0.213398074469.issue32368@psf.upfronthosting.co.za>
2017-12-18 16:29:23snordhausenlinkissue32368 messages
2017-12-18 16:29:23snordhausencreate