[New-bugs-announce] [issue32388] Remove cross-version binary compatibility

Antoine Pitrou report at bugs.python.org
Wed Dec 20 12:27:59 EST 2017


New submission from Antoine Pitrou <pitrou at free.fr>:

See original discussion on python-dev:
https://mail.python.org/pipermail/python-dev/2017-December/151328.html

Summary: binary compatibility for C extensions which don't use the stable ABI is currently "best effort" and uses distinguished flags in the tp_flags field of type objects to indicate whether a field is physically present or not.  Unfortunately, tp_flags is 32 bits and therefore a scarce resource.  Also, binary compatibility is 1) not guaranteed anyway 2) of less use nowadays.

So we propose to remove the binary compatibility requirement when creating static type objects (i.e. not using the stable ABI).

----------
components: Interpreter Core
messages: 308753
nosy: barry, paul.moore, pitrou, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Remove cross-version binary compatibility
type: behavior
versions: Python 3.7

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


More information about the New-bugs-announce mailing list