Title: Crash with compile returning a value with an error set
Type: Stage: resolved
Components: Interpreter Core Versions: Python 3.6, Python 3.5
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: abarry, benjamin.peterson, brett.cannon, georg.brandl, ncoghlan, yselivanov
Priority: normal Keywords:

Created on 2016-06-27 00:26 by abarry, last changed 2016-06-27 01:37 by abarry. 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 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.
Date User Action Args
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