Author Jason.Gross
Recipients Jason.Gross
Date 2013-05-19.20:29:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368995353.89.0.988630901542.issue18016@psf.upfronthosting.co.za>
In-reply-to
Content
Files opened on Windows in mode 'wb' have a limit on the number of characters that can be written to them (at once?); attempting to write too many bytes gives the confusing error “IOError: [Errno 22] Invalid argument”.  See http://support.microsoft.com/default.aspx?scid=kb;en-us;899149 and http://stackoverflow.com/questions/4226941/python-ioerror-errno-22-invalid-argument-when-using-cpickle-to-write-large.  I have gotten this error when using subprocess.communicate(input=<large string>).  Please fix the subprocess library (and any other library that uses mode 'wb') to use mode 'w+b', at least on Windows.
History
Date User Action Args
2013-05-19 20:29:13Jason.Grosssetrecipients: + Jason.Gross
2013-05-19 20:29:13Jason.Grosssetmessageid: <1368995353.89.0.988630901542.issue18016@psf.upfronthosting.co.za>
2013-05-19 20:29:13Jason.Grosslinkissue18016 messages
2013-05-19 20:29:13Jason.Grosscreate