New submission from Emanuel Barry: My trivial patch exposed a bug in the ast/compiler, where compile() would return a value and set an exception. See http://bugs.python.org/issue27364#msg269323 for more information and steps to reproduce. I looked a bit into it, but I don't know enough about it to be of much help.
(This is just a shot in the dark, but maybe compile() doesn't handle warnings-as-errors properly?) ---------- components: Interpreter Core messages: 269328 nosy: benjamin.peterson, brett.cannon, ebarry, georg.brandl, ncoghlan, yselivanov priority: normal severity: normal stage: needs patch status: open title: Crash with compile returning a value with an error set type: crash versions: Python 3.5, Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27394> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com