> On 10 Mar 2024, at 14:49, Thomas Passin via Python-list
> wrote:
>
> That and there's a registry setting:
>
> https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation
>
Yep that and rules about size of parts of the path.
Barry
--
https://mail.python.org/mailm
On 3/10/2024 9:33 AM, Albert-Jan Roskam wrote:
On Mar 10, 2024 12:59, Thomas Passin via Python-list
wrote:
On 3/10/2024 6:17 AM, Barry wrote:
>
>
>> On 8 Mar 2024, at 23:19, Thomas Passin via Python-list
wrote:
>>
>> We just learned a few posts back that it
On Mar 10, 2024 12:59, Thomas Passin via Python-list
wrote:
On 3/10/2024 6:17 AM, Barry wrote:
>
>
>> On 8 Mar 2024, at 23:19, Thomas Passin via Python-list
wrote:
>>
>> We just learned a few posts back that it might be specific to Linux;
I ran it on
On 3/10/2024 6:17 AM, Barry wrote:
On 8 Mar 2024, at 23:19, Thomas Passin via Python-list
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 dev
> On 8 Mar 2024, at 23:19, Thomas Passin via Python-list
> 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 pat
On 2024-03-08, Thomas Passin via Python-list wrote:
>
>> Hi, I tested this with Python 3.8. Good to know that this was fixed!
>
> We just learned a few posts back that it might be specific to Linux; I
> ran it on Windows.
On Linux, the limit is imposed by the filesystem. Most of the "real"
file
On 3/8/2024 5:14 PM, Albert-Jan Roskam wrote:
On Mar 8, 2024 19:35, Thomas Passin via Python-list
wrote:
On 3/8/2024 1:03 PM, Albert-Jan Roskam via Python-list wrote:
> Hi,
> I was replacing some os.path stuff with Pathlib and I
discovered this:
> Path(256
On Mar 8, 2024 19:35, Thomas Passin via Python-list
wrote:
On 3/8/2024 1:03 PM, Albert-Jan Roskam via Python-list wrote:
> Hi,
> I was replacing some os.path stuff with Pathlib and I discovered
this:
> Path(256 * "x").is_file() # OSError
> os.p
On 3/8/2024 2:21 PM, Grant Edwards via Python-list wrote:
On 2024-03-08, Thomas Passin via Python-list wrote:
On 3/8/2024 1:03 PM, Albert-Jan Roskam via Python-list wrote:
Hi,
I was replacing some os.path stuff with Pathlib and I discovered this:
Path(256 * "x").is_file() # OSE
On 2024-03-08, Grant Edwards via Python-list wrote:
>> OSError: [Errno 36] File name too long:
>> 'x
On 2024-03-08, Grant Edwards via Python-list wrote:
> On 2024-03-08, Thomas Passin via Python-list wrote:
>> On 3/8/2024 1:03 PM, Albert-Jan Roskam via Python-list wrote:
>>> Hi,
>>> I was replacing some os.path stuff with Pathlib and I discovered this:
>>> Path(256 * "x").is_file()
On 2024-03-08, Thomas Passin via Python-list wrote:
> On 3/8/2024 1:03 PM, Albert-Jan Roskam via Python-list wrote:
>> Hi,
>> I was replacing some os.path stuff with Pathlib and I discovered this:
>> Path(256 * "x").is_file() # OSError
>> os.path.isfile(256 * "x") # bool
>> I
On 3/8/2024 1:03 PM, Albert-Jan Roskam via Python-list wrote:
Hi,
I was replacing some os.path stuff with Pathlib and I discovered this:
Path(256 * "x").is_file() # OSError
os.path.isfile(256 * "x") # bool
Is this intended? Does pathlib try to resemble os.path as closely as
Hi,
I was replacing some os.path stuff with Pathlib and I discovered this:
Path(256 * "x").is_file() # OSError
os.path.isfile(256 * "x") # bool
Is this intended? Does pathlib try to resemble os.path as closely as
possible?
Best wishes,
Albert-Jan
--
https://mail.python.or
14 matches
Mail list logo