[NumPy-Tickets] [NumPy] #1971: genfromtxt comments do not work on first line when names option is used
NumPy Trac
numpy-tickets@scipy....
Wed Nov 2 10:56:12 CDT 2011
#1971: genfromtxt comments do not work on first line when names option is used
------------------------+---------------------------------------------------
Reporter: mesmith | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: numpy.core | Version: devel
Keywords: genfromtxt |
------------------------+---------------------------------------------------
In genfromtxt when the names option is used a comment character will cause
an error. I think the error is on this line (1274 in version 1.6.1, the
version drop down on the trac interface does not go up to 1.6.1)
{{{
first_line = asbytes('').join(first_line.split(comments)[1:])
}}}
I think the line shoud read
{{{
first_line = asbytes('').join(first_line.split(comments)[:1])
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1971>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list