[NumPy-Tickets] [NumPy] #1583: fromfile/tofile py3k errors on Windows

NumPy Trac numpy-tickets@scipy....
Mon Aug 23 23:12:46 CDT 2010


#1583: fromfile/tofile py3k errors on Windows
------------------------------------+---------------------------------------
 Reporter:  rgommers                |       Owner:  somebody
     Type:  defect                  |      Status:  new     
 Priority:  high                    |   Milestone:  1.5.0   
Component:  numpy.core              |     Version:  devel   
 Keywords:  fromfile, tofile, py3k  |  
------------------------------------+---------------------------------------

Comment(by cgohlke):

 This page [http://www.pygame.org/wiki/PreparingMinGW] gave the clue.
 _fdopen is the correct function to use. fdopen is linked to the old msvcrt
 even though the -lmsvcr90 option is set. fclose and _fdopen are linked to
 libmsvcr90.

 A patch is attached.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1583#comment:4>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list