Issue 27394: Crash with compile returning a value with an error set

Issue27394

Created on 2016-06-27 00:26 by abarry, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg269328 - (view) Author: Anilyka Barry (abarry) * (Python triager) Date: 2016-06-27 00:26
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?)
msg269331 - (view) Author: Anilyka Barry (abarry) * (Python triager) Date: 2016-06-27 01:37
Nevermind, my mistake.
History
Date User Action Args
2022-04-11 14:58:33adminsetgithub: 71581
2016-06-27 01:37:49abarrysetstatus: open -> closed
type: crash ->
messages: + msg269331

resolution: not a bug
stage: needs patch -> resolved

2016-06-27 00:26:36abarrycreate