Skip to content

Support half floats via buffer interface (Trac #1789) #2382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
numpy-gitbot opened this issue Oct 19, 2012 · 5 comments
Closed

Support half floats via buffer interface (Trac #1789) #2382

numpy-gitbot opened this issue Oct 19, 2012 · 5 comments

Comments

@numpy-gitbot
Copy link

Original ticket http://projects.scipy.org/numpy/ticket/1789 on 2011-04-02 by trac user wickedgrey, assigned to unknown.

I am working on adding half-floats to the struct module for CPython 3.3.

http://bugs.python.org/issue11734

I would like to get support for this into 1.6.0b2 if possible. I realize that that's putting the cart before the horse a little bit, since the change hasn't been formally accepted into CPython yet.

Pull request here:

#68

More discussion on the mailing list here:

http://mail.scipy.org/pipermail/numpy-discussion/2011-March/055795.html

@numpy-gitbot
Copy link
Author

@mwiebe wrote on 2011-04-02

Committed in f9c7bde (master)/c2d904ac59d1756c8fa3 (1.6.x).

I think we should leave this ticket open until the struct module half-float letter has consensus from CPython, and any necessary name change is committed as well.

@numpy-gitbot
Copy link
Author

@rgommers wrote on 2011-04-03

Thanks for the good work.

Changing Milestone to Unscheduled since we're now waiting on CPython.

@numpy-gitbot
Copy link
Author

Milestone changed to Unscheduled by @rgommers on 2011-04-03

@charris
Copy link
Member

charris commented Feb 19, 2014

Here it is, almost three years later, and the patch still hasn't made its way into Python ;)

@seberg
Copy link
Member

seberg commented Feb 24, 2021

For what its worth, half floats are exported to memoryview, so I think this can be closed.

@seberg seberg closed this as completed Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants