New submission from Stefan Nordhausen <stefan.nordhau...@solarisbank.de>:
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 ). ---------- components: Interpreter Core messages: 308573 nosy: snordhausen priority: normal severity: normal status: open title: Segfault when compiling many conditional expressions type: crash versions: Python 2.7, Python 3.6, Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32368> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com