Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7847 > unrolled thread
| Started by | MRAB <python@mrabarnett.plus.com> |
|---|---|
| First post | 2011-06-17 20:13 +0100 |
| Last post | 2011-06-17 20:13 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: bug in large file writes, 2.x and 3.x MRAB <python@mrabarnett.plus.com> - 2011-06-17 20:13 +0100
| From | MRAB <python@mrabarnett.plus.com> |
|---|---|
| Date | 2011-06-17 20:13 +0100 |
| Subject | Re: bug in large file writes, 2.x and 3.x |
| Message-ID | <mailman.87.1308338023.1164.python-list@python.org> |
On 17/06/2011 20:15, Ethan Furman wrote: > Ethan Furman wrote: >> Windows platform (XP Pro, SP2). >> >> This works fine on local drives, but on network (both 2003 Server, and >> Samba running on FreeBSD) the following produces an error: >> >> --> data = '?' * 119757831 # use b'?' if on 3.x >> --> test = open(r's:\junk.tst', 'wb') >> --> test.write(data) >> Traceback (most recent call last): >> File "<stdin>", line 1, in <module> >> IOError: [Errno 22] Invalid argument > > > Update: 10Mb worth of data succeeds, 50+Mb fails. What about around 2**24 bytes?
Back to top | Article view | comp.lang.python
csiph-web