Use PyFloat_Pack8() on Python 3.11a7 by vstinner · Pull Request #499 · msgpack/msgpack-python
msgpack / msgpack-python Public
-
Notifications
You must be signed in to change notification settings - Fork 246
Merged
Merged
Conversation
vstinner
commented
Mar 11, 2022
vstinner
commented
Contributor
Python 3.11a7 adds public functions:
- PyFloat_Pack4(), PyFloat_Pack8()
- PyFloat_Unpack4(), PyFloat_Unpack8()
Python 3.11a7 adds public functions: * PyFloat_Pack4(), PyFloat_Pack8() * PyFloat_Unpack4(), PyFloat_Unpack8() https://bugs.python.org/issue46906
vstinner
commented
Mar 11, 2022
vstinner commented
Contributor Author
msgpack currently fails to build on Python 3.11 since the _PyFloat_Pack4() function moved to the internal C API.
I just added a new clean public C API for msgpack: see bpo-46906). This PR uses it.
Python 3.11 alpha7 is not released yet. It's scheduled in one month (at 2022-04-05): https://peps.python.org/pep-0664/
vstinner
commented
Mar 11, 2022
vstinner commented
Contributor Author
Cython doesn't support Python 3.11 yet: see pending PR cython/cython#4667
vstinner
mentioned this pull request
methane
merged commit
849c806
into
msgpack:main
vstinner
deleted the
py311a7
branch
vstinner
commented
Mar 14, 2022
vstinner commented
Contributor Author
Thank you @methane :-) msgpack was my main motivation to solve https://bugs.python.org/issue46906 ;-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment