GH-125174: Make immortal objects more robust, following design from PEP 683 by markshannon · Pull Request #125251 · python/cpython
jcrist added a commit to msgspec/msgspec that referenced this pull request
* MNT: account for CPython 314 changes python/cpython#125251 renamed _PY_IMMORTAL_REFCNT -> _PY_IMMORTAL_INITIAL_REFCNT * Define new macro to reduce duplication --------- Co-authored-by: Jim Crist-Harif <jcristharif@gmail.com>
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