[issue43760] The DISPATCH() macro is not as efficient as it could be (move PyThreadState.use_tracing)

John Ehresman report at bugs.python.org
Mon Sep 20 10:36:31 EDT 2021


John Ehresman <jpe at wingware.com> added the comment:

Is adding the field back an option at this point? It would mean that extensions compiled against the release candidates may not be binary compatible with the final release

My take is that use_tracing is an implementation and version dependent field, and that binary compatibility will be maintained for a specific release (e.g. 3.10) but that there's no assurance that it will be there in the next release -- though these things tend not to change. I also regard generated cython code as only being valid for the releases that a specific cython version supports.

Code and API's change slowly, but eventually they do change.

----------
nosy: +jpe

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


More information about the Python-bugs-list mailing list