Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Killing is stupid; useless! -- McCoy, "A Private Little War", stardate 4211.8


devel / comp.lang.python / Re: pathlib.Path.is_file vs os.path.isfile difference

SubjectAuthor
o Re: pathlib.Path.is_file vs os.path.isfile differenceThomas Passin

1
Re: pathlib.Path.is_file vs os.path.isfile difference

<mailman.77.1710071999.3452.python-list@python.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=29632&group=comp.lang.python#29632

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: list1@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: pathlib.Path.is_file vs os.path.isfile difference
Date: Sun, 10 Mar 2024 07:59:44 -0400
Lines: 15
Message-ID: <mailman.77.1710071999.3452.python-list@python.org>
References: <f2d7a7bc-af39-408d-9614-13d32f8cf0b4@tompassin.net>
<89D8EE29-3520-416D-A5E6-ED5C2861FE09@barrys-emacs.org>
<dc87dbe0-23fc-4965-9429-c98f4eec9d1e@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de rP/mWc90bagMQs5mJgg+GQ277MDBE/MaIHpabjSa8kHg==
Cancel-Lock: sha1:CTXPqlSTgUzZTzHZ+qA/XQUR1DQ= sha256:UgQli+e4xkC3YANF98J5xpWV6i2Pb/Yls3y42kUphMU=
Return-Path: <list1@tompassin.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=tompassin.net header.i=@tompassin.net header.b=H8GVp8KP;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.023
X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'mar': 0.07; 'cc:addr
:python-list': 0.09; 'cc:no real name:2**0': 0.14; 'barry': 0.16;
'limits.': 0.16; 'received:10.0.0': 0.16; 'received:64.90': 0.16;
'received:64.90.62': 0.16; 'received:64.90.62.162': 0.16;
'received:dreamhost.com': 0.16; 'subject:skip:o 10': 0.16;
'subject:skip:p 20': 0.16; 'surprising.': 0.16; 'windows.': 0.16;
'wrote:': 0.16; 'api': 0.17; 'cc:addr:python.org': 0.20; 'ran':
0.22; 'cc:2**0': 0.25; 'error': 0.29; 'header:User-Agent:1': 0.30;
'seem': 0.31; 'am,': 0.31; 'python-list': 0.32; 'received:10.0':
0.32; 'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'but': 0.32; 'there':
0.33; 'path': 0.33; 'header:In-Reply-To:1': 0.34; 'posts': 0.36;
'setting': 0.39; 'use': 0.39; 'exact': 0.40; 'remember': 0.61;
'leading': 0.63; 'back': 0.67; 'forget': 0.67;
'header:Received:6': 0.67; 'received:64': 0.67; 'depending': 0.70;
'longer': 0.71; 'details.': 0.76; 'device,': 0.84
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1710071989; a=rsa-sha256;
cv=none;
b=EWWNBEIxIQGYoL6yAaQRVxE4ZofGo/3F/9snSzkbzshSqnAtzVPlsmSdGgFSxH5yLy7Evs
J/hnMI8f8qQUuUjOy9YT9e706zxbgwbhOORaUhQKhY+cZg9ihNFKL7/McDdbuoJMIGfOSQ
eWr/Klse3hnHOCCNYmVXNykfIHY7/S3khdRPolg0mQFCUhxAvCToYa4M1iyd9PV0DOr34m
5sdfqnGPrErksZRw4r5bJM4dpNLa2IlezCjv33rQ+OH24SVfnV7kjERJ83SnSJVqrerylf
P94CQWHXl8KZpaXoLWXyFVL9/Pom4BOEuB6PQTI6+IMVGp9J31ZhDCzhc1r0Ug==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1710071989;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=n7vzUeIqx85AWUxtU0dU71nUz1fkSMFh6D1mzSyDxBE=;
b=brlgLB7N1A9ESzxILlwNkVGKL3xA6J7wgpHGMEfVmpUDnosU8DAs+ZPgABDTolG++WKj3M
zn2fFdg29i7R5y0fpiILuSBJl5SnzaiHPNxtCwtRgXmlp7ocbvp5uBFBDdZyer2+mqgXuk
jjI1HU46uJk5R/0nKUxEW2e3lOmgwdF62t1CD8tN8HBVzJ6G0qV21TLUNDdzvZ5NUAhoqd
mL2TnsPtRrQuEz5gLcBdKpToofHx7SLf09T9PQTrGxj0FZJlayTHph1s/oQO5tC/dv1pJh
EVVZnbqP6t+iyg2ouEx6KTofbwMNxJWWA/1d/5NNMwZ2h6F/3PGPkXmbGwEviA==
ARC-Authentication-Results: i=1; rspamd-67fb46fddd-hdkwg;
auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Whistle-Oafish: 3ba868682a7f4014_1710071989572_3751599817
X-MC-Loop-Signature: 1710071989572:2796817512
X-MC-Ingress-Time: 1710071989572
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1710071989;
bh=n7vzUeIqx85AWUxtU0dU71nUz1fkSMFh6D1mzSyDxBE=;
h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding;
b=H8GVp8KPxjZ9ACHjk5kS549hTTnU8Vz7RZbs3Gr+19Asftv/EKNLE3gLIVPrOcwtK
WYv8x81E2SyQ2Q1IFOWRfY/JReHPUX/pZmsglCE4WNMTW131ufDwdAsAXNOaYfYUhM
KWDQdq6fPzDvteVYxsbMuqqg1/d09rbnfmWP66YQnnOZwwWUWgve40XAbQL7lzmMkL
9FAjWUZP1rUIcJvmMuJDgm1buohDk+HJqtU+5uPJZuBcZE3wv3Yvv5s+NSWRIVq6gJ
t7EHSDiK/P8Eph9yBbQoMjpTfLdbM4wpeSHsc5ZrWogXZk0QkqWplsssy73uXHFq+c
WR0T2Qrq2a20g==
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <89D8EE29-3520-416D-A5E6-ED5C2861FE09@barrys-emacs.org>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
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: <https://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>
X-Mailman-Original-Message-ID: <dc87dbe0-23fc-4965-9429-c98f4eec9d1e@tompassin.net>
X-Mailman-Original-References: <f2d7a7bc-af39-408d-9614-13d32f8cf0b4@tompassin.net>
<89D8EE29-3520-416D-A5E6-ED5C2861FE09@barrys-emacs.org>
 by: Thomas Passin - Sun, 10 Mar 2024 11:59 UTC

On 3/10/2024 6:17 AM, Barry wrote:
>
>
>> On 8 Mar 2024, at 23:19, Thomas Passin via Python-list <python-list@python.org> wrote:
>>
>> We just learned a few posts back that it might be specific to Linux; I ran it on Windows.
>
> Depending on the exact win32 api used there is a 257 limit on windows.
> The 257 includes 2 for the device, C:, and 255 for the path part that will use 1 for the leading \. Getting an error for a name that is 255 is not surprising.
>
> Other api allow for 65535 limit, not sure on its additional limits.

I seem to remember there is a setting to allow longer paths, but I
forget any details.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor