[issue46505] Simplify exception handling code in py_compile

2022-01-26 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue46505] Simplify exception handling code in py_compile

2022-01-24 Thread Irit Katriel
Change by Irit Katriel : -- components: +Library (Lib) type: -> enhancement versions: +Python 3.11 ___ Python tracker ___ ___ Pytho

[issue46505] Simplify exception handling code in py_compile

2022-01-24 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +29039 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30857 ___ Python tracker ___ ___

[issue46505] Simplify exception handling code in py_compile

2022-01-24 Thread Irit Katriel
New submission from Irit Katriel : 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 sever