This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Eli.Stevens
Recipients Eli.Stevens
Date 2011-04-01.01:46:52
SpamBayes Score 1.0589125e-06
Marked as misclassified No
Message-id <1301622416.92.0.709427959343.issue11734@psf.upfronthosting.co.za>
In-reply-to
Content
Initial patch; tests pass.  A couple notes:

- I manually excised some commented changes to structmodule.{h,c} from the .patch; once I get a determination on if those files need to be updated or not I will discard the changes or implement what needs to be done there.  Hopefully I didn't damage the patch while editing.

- The code in _PyFloat_Pack2 and _PyFloat_Unpack2 is adapted from the numpy code in https://github.com/numpy/numpy/blob/master/numpy/core/src/npymath/halffloat.c .  This means that it is BSD licensed; I'm presuming that is acceptable for inclusion in CPython.  If not, I'll try a clean-room implementation.
History
Date User Action Args
2011-04-01 01:46:57Eli.Stevenssetrecipients: + Eli.Stevens
2011-04-01 01:46:56Eli.Stevenssetmessageid: <1301622416.92.0.709427959343.issue11734@psf.upfronthosting.co.za>
2011-04-01 01:46:56Eli.Stevenslinkissue11734 messages
2011-04-01 01:46:56Eli.Stevenscreate