[issue46906] Add PyFloat_(Pack|Unpack)(2|4|8) to the public C API

STINNER Victor report at bugs.python.org
Thu Mar 3 05:10:38 EST 2022


STINNER Victor <vstinner at python.org> added the comment:

I reopen the issue, I would like to make these functions public :-) I searched for the 6 functions moved to the internal C API and I found 6 projets using it in the top 5000 PyPI projects (at 2022-01-26):

* msgpack
* ddtrace
* bitstruct
* pickle5
* line_profiler
* zodbpickle

The 6 functions are used:

* _PyFloat_Pack2()
* _PyFloat_Pack4()
* _PyFloat_Pack8()
* _PyFloat_Unpack2()
* _PyFloat_Unpack4()
* _PyFloat_Unpack8()

----------
resolution: rejected -> 
status: closed -> open
title: Make _PyFloat_(Pack|Unpack)(4|8) cpython API, not internal. -> Add PyFloat_(Pack|Unpack)(2|4|8) to the public C API

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46906>
_______________________________________


More information about the Python-bugs-list mailing list