[Python-Dev] Rejecting PEP 473: Adding structured data to built-in exceptions

2019-03-16 Thread Victor Stinner
Hi, While I would like to get such new attributes, I see drawbacks as blocker issues and so I am fine with this PEP rejection. Performance is too critical for most common exceptions. For me one blocker issue is the high risk of creating reference cycles. And the weak reference API isn't the most

[Python-Dev] Rejecting PEP 473: Adding structured data to built-in exceptions

2019-03-15 Thread Brett Cannon
The steering council felt the PEP was too broad and not focused enough. Discussions about adding more attributes to built-in exceptions can continue on the issue tracker on a per-exception basis (and obviously here for any broader points, e.g. performance implications as I know that has come up