Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

In 1750 Issac Newton became discouraged when he fell up a flight of stairs.


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 differenceBarry

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

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: barry@barrys-emacs.org (Barry)
Newsgroups: comp.lang.python
Subject: Re: pathlib.Path.is_file vs os.path.isfile difference
Date: Sun, 10 Mar 2024 10:17:45 +0000
Lines: 18
Message-ID: <mailman.76.1710065896.3452.python-list@python.org>
References: <f2d7a7bc-af39-408d-9614-13d32f8cf0b4@tompassin.net>
<89D8EE29-3520-416D-A5E6-ED5C2861FE09@barrys-emacs.org>
Mime-Version: 1.0 (1.0)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de RCKDP/4TZU/U7fdp4IowhwUSUigJUWR7ksKulqJLOWOA==
Cancel-Lock: sha1:73R6TKxUbNkB4olqzfOcrzjdgH0= sha256:7JC7mUlWTtkLFplWZB3bSxzB0HFraK5qHGIg2tFNppE=
Return-Path: <barry@barrys-emacs.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'mar': 0.07; 'cc:addr
:python-list': 0.09; 'from:addr:barry': 0.09; 'received:217.70':
0.09; 'received:217.70.178': 0.09; 'received:gandi.net': 0.09;
'received:mail.gandi.net': 0.09; 'cc:no real name:2**0': 0.14;
'barry': 0.16; 'from:addr:barrys-emacs.org': 0.16; 'limits.':
0.16; 'message-id:@barrys-emacs.org': 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; 'python-list': 0.32;
'there': 0.33; 'path': 0.33; 'header:In-Reply-To:1': 0.34;
'posts': 0.36; 'use': 0.39; 'exact': 0.40; 'leading': 0.63;
'back': 0.67; 'received:217': 0.67; 'depending': 0.70; 'device,':
0.84
In-Reply-To: <f2d7a7bc-af39-408d-9614-13d32f8cf0b4@tompassin.net>
X-Mailer: iPad Mail (21E219)
X-GND-Sasl: barry@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: <89D8EE29-3520-416D-A5E6-ED5C2861FE09@barrys-emacs.org>
X-Mailman-Original-References: <f2d7a7bc-af39-408d-9614-13d32f8cf0b4@tompassin.net>
 by: Barry - Sun, 10 Mar 2024 10:17 UTC

> 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.

Barry

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor