Deutsch   English   Français   Italiano  
<mailman.70.1709926645.3452.python-list@python.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!fu-berlin.de!uni-berlin.de!not-for-mail
From: Grant Edwards <grant.b.edwards@gmail.com>
Newsgroups: comp.lang.python
Subject: Re: pathlib.Path.is_file vs os.path.isfile difference
Date: Fri,  8 Mar 2024 14:37:24 -0500 (EST)
Lines: 9
Message-ID: <mailman.70.1709926645.3452.python-list@python.org>
References: <33cad416-6f2d-4e1e-9c86-227e30e220fd@tompassin.net>
 <4TrwyW50knznVDr@mail.python.org> <4Trx9751XKznVF4@mail.python.org>
 <4TrxJh3L4qznVF4@mail.python.org>
X-Trace: news.uni-berlin.de Na+lz1jNUWOO95t9s7jhkwzWzcYwKq3JIoTszh1wKtZw==
Cancel-Lock: sha1:jnxpwDgkedSnLZfLYpQ5cGuXGhM= sha256:WoLzzbdVtx4r3RQ7IyOIeux2gTLcdKABDChw7STQSA8=
Return-Path: <grant.b.edwards@gmail.com>
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.013
X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'linux': 0.09; 'meant':
 0.09; '"is': 0.16; 'filename': 0.16; 'filesystems': 0.16;
 'from:addr:grant.b.edwards': 0.16; 'from:name:grant edwards':
 0.16; 'subject:skip:o 10': 0.16; 'subject:skip:p 20': 0.16;
 'wrote:': 0.16; 'grant': 0.17; 'to:addr:python-list': 0.20;
 'header:User-Agent:1': 0.30; 'seem': 0.31; 'python-list': 0.32;
 'from:addr:gmail.com': 0.35; 'file': 0.38; 'follow': 0.62;
 'message-id:invalid': 0.68; 'about,': 0.84
User-Agent: slrn/1.0.3 (Linux)
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: <4TrxJh3L4qznVF4@mail.python.org>
X-Mailman-Original-References: <33cad416-6f2d-4e1e-9c86-227e30e220fd@tompassin.net>
 <4TrwyW50knznVDr@mail.python.org> <4Trx9751XKznVF4@mail.python.org>
Bytes: 2956

On 2024-03-08, Grant Edwards via Python-list <python-list@python.org> wrote:

>> OSError: [Errno 36] File name too long: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
>
> On all of the Linux filesystems I know about, the max length for a
> filename is 255 bytes, so the OSError is too surprising, and it does
> seem to follow the documentation.

Doh. I meant "is not too surprising".