[issue27394] Crash with compile returning a value with an error set

Emanuel Barry report at bugs.python.org
Sun Jun 26 20:26:36 EDT 2016


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 <report at bugs.python.org>
<http://bugs.python.org/issue27394>
_______________________________________


More information about the Python-bugs-list mailing list