[NumPy-Tickets] [NumPy] #1689: fromstring segfaults if reading from text and dtype=bool_
NumPy Trac
numpy-tickets@scipy....
Wed Dec 29 13:50:59 CST 2010
#1689: fromstring segfaults if reading from text and dtype=bool_
--------------------+-------------------------------------------------------
Reporter: gerrit | Owner: somebody
Type: defect | Status: needs_review
Priority: high | Milestone: 2.0.0
Component: Other | Version: devel
Keywords: |
--------------------+-------------------------------------------------------
Changes (by jpeel):
* status: new => needs_review
Comment:
This was occurring because the bool_ dtype had the fromstr function
defined as NULL. I made it do roughly the same thing as the BOOL_scan
function for reading from a file, except that I made handle doubles as
well which fromfile currently can't with dtype=bool_. I'll open that as a
separate ticket, if there isn't one already, and change it to also be able
to handle doubles rather than just integers.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1689#comment:4>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list