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

Liste des GroupesRevenir à cl python 
Sujet : Re: pathlib.Path.is_file vs os.path.isfile difference
De : grant.b.edwards (at) *nospam* gmail.com (Grant Edwards)
Groupes : comp.lang.python
Date : 08. Mar 2024, 21:37:24
Autres entêtes
Message-ID : <mailman.70.1709926645.3452.python-list@python.org>
References : 1 2 3 4
User-Agent : slrn/1.0.3 (Linux)
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".

Date Sujet#  Auteur
8 Mar 24 o Re: pathlib.Path.is_file vs os.path.isfile difference1Grant Edwards

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal