> I'm running linux and the current svn version of numpy. Maybe the > problem is with the tempfile module on windows. Do fromfile and tofile > work for files opened normally? > > Chuck
fromfile and tofile work fine on regular files. From skimming the code a bit, it's hard to imagine numpy code is the culprit, since it must be getting a NULL pointer back from PyFile_AsFile(file)... Perhaps this is a question for a python dev list? My gut says it's probably something in the windows tempfile module. But perhaps in the PyFile_AsFile(file) implementation. Seems one of those isn't playing nice. It's all quite mysterious to me... tim _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
