You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The entire struct would be deprecated under this issue. For deprecating PyTracebackObject the following changes will be performed under this issue in 3.12:
Mark the entire struct with Py_DEPRECATED(3.12)
Add C API function to access tb_lineno in C.
Document the changes in What's New with fallback code snippets for older versions.
Changes in 3.14:
The struct would be removed from the public C headers and moved to the internal C API.
The optimizations would be implemented.
The text was updated successfully, but these errors were encountered:
We can just choose to live with the status quo, can't we?
That's what I asked, this has proven to be more controversial than I had hoped, the SC advised to deprecate this first hence I created this issue, I'll just close it now as it seems there isn't enough support for this now :(
See https://discuss.python.org/t/leaky-abstractions-and-cpython-performance/18392 for discussion.
The entire struct would be deprecated under this issue. For deprecating
PyTracebackObject
the following changes will be performed under this issue in3.12
:Py_DEPRECATED(3.12)
tb_lineno
in C.Changes in 3.14:
The text was updated successfully, but these errors were encountered: