Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #93139

Re: windows and file names > 256 bytes

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.022
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'subject:file': 0.07; 'mess': 0.09; 'bug': 0.10; 'cc:addr:python-list': 0.10; 'python': 0.11; 'thu,': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'importable': 0.16; 'posix': 0.16; 'silly': 0.16; 'subject:windows': 0.16; 'wrote:': 0.16; 'module,': 0.18; 'python?': 0.18; 'windows': 0.20; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'lawrence': 0.22; '2015': 0.23; 'module': 0.23; 'header:In-Reply-To:1': 0.24; 'message- id:@mail.gmail.com': 0.28; "doesn't": 0.28; 'windows,': 0.29; '(which': 0.29; 'received:google.com': 0.34; 'limitation': 0.36; 'should': 0.37; 'subject:: ': 0.37; 'difference': 0.38; 'rather': 0.38; 'pm,': 0.39; 'mark': 0.40; 'why': 0.40; 'your': 0.60; 'details': 0.63; 'between': 0.65; 'differences': 0.66; 'deals': 0.67; 'biggest': 0.67; 'paper': 0.78; '"can': 0.84; '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=DIphBI5zt1VO8gyOyAzs7YnAdb1bFk4zYwBsV0LfC8E=; b=FvPenYbPuxqGPdAxm7ZMrkqIuoRbco8i+8O4FoG0OFl/LBRQ7BY/xR0yNOtBvUbx5W qbRoL6+SpQlKC1ULQCpKW+2FgiCv0mjpZE5Fr9gP3ZmbZ/vC+zqH6yZuFYKag7PlbMlI TO2MfUGohZoQEcjkx2wuPoTN1maLfFnA/H6fjunl/C8OJHUpR9Jy242TgXBSfOqImzAc DET7KwX55jENCzOJCCmB0iLLr7txfEpbTDL3YkEtPfLjZMv14A7CD6wQp6ye7Y6GRJAJ e6sjQIR+kin4GWyad89c4i7295nlCNLlcib4KRO88j72uhoW0n4YL51C/Smt6I+yw5nD pXSg==
MIME-Version 1.0
X-Received by 10.107.131.25 with SMTP id f25mr34294804iod.53.1435237320492; Thu, 25 Jun 2015 06:02:00 -0700 (PDT)
In-Reply-To <mmgnbt$u0o$1@ger.gmane.org>
References <mmgce2$cd4$1@ger.gmane.org> <mmgnbt$u0o$1@ger.gmane.org>
Date Thu, 25 Jun 2015 23:02:00 +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.64.1435237325.3674.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1435237325 news.xs4all.nl 2911 [2001:888:2000:d::a6]:39524
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:93139

Show key headers only | View raw


On Thu, Jun 25, 2015 at 9:06 PM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
>> 2. Is this a bug in Python? I would prefer if Python dealt with the gory
>> details of Windows' silly behavior.
>
>
> I don't see why Python should work around any particular limitation of any
> given OS.

Check out the multiprocessing module, and then tell me whether it's
better that Python paper over the OS differences or if you'd rather do
all that yourself. The biggest difference left between Windows and
POSIX is that on Windows, your main module has to be importable (which
doesn't hurt on POSIX). Python deals with all the mess of "can we
fork, or do we have to do it differently?".

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: windows and file names > 256 bytes Chris Angelico <rosuav@gmail.com> - 2015-06-25 23:02 +1000

csiph-web