bpo-32388: Remove cross-version binary compatibility requirement in tp_flags by pitrou · Pull Request #4944 · python/cpython
…p_flags It is now allowed to add new fields at the end of the PyTypeObject struct (and even in the middle, if we are so inclined) in feature releases without having to allocate a dedicated compatibility flag in tp_flags. This will reduce the risk of running out of bits in the 32-bit tp_flags value.
pitrou
deleted the
no_tpflags_compatibility
branch
DinoV pushed a commit to DinoV/cpython that referenced this pull request
Jan 14, 2020…p_flags (pythonGH-4944) It is now allowed to add new fields at the end of the PyTypeObject struct without having to allocate a dedicated compatibility flag in tp_flags. This will reduce the risk of running out of bits in the 32-bit tp_flags value.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters