[issue8786] Add support for IEEE 754 contexts to decimal module.

Mark Dickinson report at bugs.python.org
Sun May 23 00:21:40 CEST 2010


Mark Dickinson <dickinsm at gmail.com> added the comment:

Thinking ahead a bit:  at some point we might well also want functions to pack and unpack these IEEE formats into byte sequences, using the bit representations described in the standard.

A natural place for those functions would be as methods on a Context object;  perhaps IEEEContext should be a subclass of Context?  (OTOH, the struct module is another possible place for such functionality.)

I'll think about this.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8786>
_______________________________________


More information about the Python-bugs-list mailing list