Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7847
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python@mrabarnett.plus.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:bug': 0.04; '3.x': 0.09; 'from:addr:python': 0.09; 'ioerror:': 0.09; 'error:': 0.12; 'server,': 0.12; 'subject:file': 0.14; 'wrote:': 0.14; '[errno': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:name:mrab': 0.16; 'furman': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:84.92': 0.16; 'received:84.92.122': 0.16; 'received:84.92.122.60': 0.16; 'reply-to:addr:python-list': 0.16; 'succeeds,': 0.16; 'argument': 0.16; 'traceback': 0.16; '(most': 0.16; 'header:In-Reply-To:1': 0.21; 'fine': 0.22; 'last):': 0.23; 'produces': 0.23; 'invalid': 0.25; 'received:84': 0.25; 'windows': 0.26; '(both': 0.30; 'fails.': 0.30; 'to:addr:python-list': 0.33; 'file': 0.34; 'header:User-Agent:1': 0.35; '"",': 0.35; 'reply- to:addr:python.org': 0.35; 'test': 0.35; 'platform': 0.36; 'skip:o 20': 0.37; 'running': 0.37; 'but': 0.38; 'data': 0.38; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'worth': 0.60; 'subject:, ': 0.60; 'header:Reply-To:1': 0.72; 'reply-to:no real name:2**0': 0.72; '10mb': 0.84; 'pro,': 0.84 |
| X-IronPort-Anti-Spam-Filtered | true |
| X-IronPort-Anti-Spam-Result | AgUIAFqm+03Unw4S/2dsb2JhbABSmAmOSHeIdb8ThicElj2LHw |
| Date | Fri, 17 Jun 2011 20:13:35 +0100 |
| From | MRAB <python@mrabarnett.plus.com> |
| User-Agent | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: bug in large file writes, 2.x and 3.x |
| References | <4DFBA4E9.9030908@stoneleaf.us> <4DFBA7D1.5030807@stoneleaf.us> |
| In-Reply-To | <4DFBA7D1.5030807@stoneleaf.us> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| Reply-To | python-list@python.org |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.87.1308338023.1164.python-list@python.org> (permalink) |
| Lines | 18 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1308338023 news.xs4all.nl 49038 [::ffff:82.94.164.166]:40701 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:7847 |
Show key headers only | View raw
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 comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: bug in large file writes, 2.x and 3.x MRAB <python@mrabarnett.plus.com> - 2011-06-17 20:13 +0100
csiph-web