[Python-ideas] Adding a half-float (16-bit) type to PEP 3118 (and possibly the struct module?)
Alexander Belopolsky
alexander.belopolsky at gmail.com
Wed Mar 30 20:54:14 CEST 2011
On Wed, Mar 30, 2011 at 2:37 PM, Eli Stevens (Gmail)
<wickedgrey at gmail.com> wrote:
..
> What would be required to get a float16 data type added to PEP 3118
> (either implicitly via inclusion of the struct module, or explicitly
> in the PEP itself)?
I would like to see a patch adding float16 to struct and ctypes
modules together with the buffer support. Adding features to PEP
3118 that cannot be exercised by the standard library is not a good
idea. (Case in point: support for multi-dimensional arrays.)
More information about the Python-ideas
mailing list