Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #93121
| Path | csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'paths': 0.05; 'prefix': 0.07; 'subject:file': 0.07; '(those': 0.09; 'bug': 0.10; 'cc:addr :python-list': 0.10; 'python': 0.11; 'thu,': 0.15; 'expecting': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'paths.': 0.16; 'prepend': 0.16; 'silly': 0.16; 'subject:windows': 0.16; 'wrote:': 0.16; 'python?': 0.18; 'windows': 0.20; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; '2015': 0.23; 'header:In-Reply- To:1': 0.24; 'message-id:@mail.gmail.com': 0.28; "doesn't": 0.28; 'regular': 0.29; 'behaviour': 0.29; "i'd": 0.31; 'certain': 0.31; "d'aprano": 0.33; 'steven': 0.33; 'file': 0.34; 'received:google.com': 0.34; 'but': 0.36; 'there': 0.36; 'subject:: ': 0.37; 'starting': 0.38; 'names': 0.38; 'say': 0.38; 'pm,': 0.39; 'further': 0.60; 'times': 0.61; 'details': 0.63; 'chrisa': 0.84; 'to:none': 0.90; 'dealt': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=exMV/LpmHiTAM3ThY2SmpsFk2zymWqwJD4aAJ4pxxyA=; b=tBthGMFrMyNPuQpHZeipnArFgilky4yl3e2eIyBbI2Ao/GXat+5sH6M0HpSvNZ0Epm 1D8PLdK1ydyeIq/HfdeCteYLxVX8//ESb4cqQap6G2vb9KSQ02iTwYOD1NXd6OOo1UXp +1INOaC++HwYG2hrAy+lsHMkpaHVkvLQqrdHHRSe9DJnaEANe3EjbkHTIKjcQj41ZPKD O9Abk1rhRKGMHFE2FUEnfUppOw9HCkrmBW2YQoddBjPOwUhvY0cbEy4N7mgJpbdZ9AXC fasaVlTJLBeuLm3rENkrSxx7Zol5llPN8I4MOPOOaXyZbSWyvYHUf5f3Nl+XE97jgXgP H8oA== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.97.105 with SMTP id dz9mr2692649igb.49.1435224196882; Thu, 25 Jun 2015 02:23:16 -0700 (PDT) |
| In-Reply-To | <558bc6f1$0$11104$c3e8da3@news.astraweb.com> |
| References | <mailman.44.1435219506.3674.python-list@python.org> <558bc6f1$0$11104$c3e8da3@news.astraweb.com> |
| Date | Thu, 25 Jun 2015 19:23:16 +1000 |
| Subject | Re: windows and file names > 256 bytes |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.45.1435224206.3674.python-list@python.org> (permalink) |
| Lines | 17 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1435224206 news.xs4all.nl 2838 [2001:888:2000:d::a6]:52450 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:93121 |
Show key headers only | View raw
On Thu, Jun 25, 2015 at 7:16 PM, Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote: >> 2. Is this a bug in Python? I would prefer if Python dealt with the gory >> details of Windows' silly behavior. > > I would say that it is a bug that it doesn't work with extended-length paths > (those starting with \\?\) but may or may not be a bug with regular paths. I'd go further and say that the OP is right in expecting Python to deal with the gory details. Would it break anything for Python to prepend \\?\ to all file names before giving them to certain APIs? Then the current behaviour of stripping off that prefix would be fine. Are there any times when you *don't* want Windows to use the extended-length path? ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
windows and file names > 256 bytes Albert-Jan Roskam <sjeik_appie@hotmail.com> - 2015-06-25 08:00 +0000
Re: windows and file names > 256 bytes Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-06-25 19:16 +1000
Re: windows and file names > 256 bytes Chris Angelico <rosuav@gmail.com> - 2015-06-25 19:23 +1000
Re: windows and file names > 256 bytes Tim Golden <mail@timgolden.me.uk> - 2015-06-25 11:10 +0100
Re: windows and file names > 256 bytes Chris Angelico <rosuav@gmail.com> - 2015-06-25 20:23 +1000
Re: windows and file names > 256 bytes Terry Reedy <tjreedy@udel.edu> - 2015-06-25 13:03 -0400
csiph-web