[New-bugs-announce] [issue46505] Simplify exception handling code in py_compile

Irit Katriel report at bugs.python.org
Mon Jan 24 14:17:50 EST 2022


New submission from Irit Katriel <iritkatriel at gmail.com>:

PyCompileError takes both type and value of the exception, which is no longer necessary. Fortunately neither its constructor signature nor its fields are documented so it can be simplified.

----------
messages: 411509
nosy: iritkatriel
priority: normal
severity: normal
status: open
title: Simplify exception handling code in py_compile

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46505>
_______________________________________


More information about the New-bugs-announce mailing list