[issue18016] subprocess should open stdin in mode w+b on windows

2013-05-19 Thread Jason Gross
New submission from Jason Gross: 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.mic

[issue9271] Python throws `IOError: [Errno 27] File too large' on long file names

2010-07-15 Thread Jason Gross
New submission from Jason Gross : On attempting to open files with sufficiently long file names, python throws IOError: [Errno 27] File too large. This is misleading, and perhaps should be relabeled as 'File name too long.' I have only tested this on unix with Python 2.5.2. This

[issue8582] urllib.urlretrieve fails with ValueError: Invalid format string

2010-04-30 Thread Jason Gross
New submission from Jason Gross : When calling urllib.urlretrieve with a data:image/png url (possibly with other urls too) and a local file name, it fails with Traceback (most recent call last): File "", line 1, in urlretrieve(url, file_name) File "D:\Python26\Lib\urll