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.

classification
Title: Crash with compile returning a value with an error set
Type: Stage: resolved
Components: Interpreter Core Versions: Python 3.6, Python 3.5
process
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 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