Skip to content

Conversation

vstinner
Copy link
Contributor

Python 3.11a7 adds public functions:

  • PyFloat_Pack4(), PyFloat_Pack8()
  • PyFloat_Unpack4(), PyFloat_Unpack8()

https://bugs.python.org/issue46906

Python 3.11a7 adds public functions:

* PyFloat_Pack4(), PyFloat_Pack8()
* PyFloat_Unpack4(), PyFloat_Unpack8()

https://bugs.python.org/issue46906
@vstinner
Copy link
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
Copy link
Contributor Author

Cython doesn't support Python 3.11 yet: see pending PR cython/cython#4667

@methane methane merged commit 849c806 into msgpack:main Mar 14, 2022
@vstinner vstinner deleted the py311a7 branch March 14, 2022 09:32
@vstinner
Copy link
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants