[New-bugs-announce] [issue46906] Make _PyFloat_(Pack|Unpack)(4|8) cpython API, not internal.

Inada Naoki report at bugs.python.org
Wed Mar 2 22:09:32 EST 2022

New submission from Inada Naoki <songofacandy at gmail.com>:

Original issue. https://github.com/msgpack/msgpack-python/issues/497

_PyFloat_(Pack|Unpack)(4|8) is very nice API for serializers like msgpack.
Converting double and float into char[] is not trivial and these APIs do it in very efficient way.

And these APIs don't reveal CPython internal strucutre. It just convert double and float into char[].

So please keep these APIs public for libraries like msgpack.

components: C API
messages: 414401
nosy: methane, vstinner
priority: normal
severity: normal
status: open
title: Make _PyFloat_(Pack|Unpack)(4|8) cpython API, not internal.
versions: Python 3.11

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list