Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <mailman.78.1710077593.3452.python-list@python.org>
Deutsch   English   Français   Italiano  
<mailman.78.1710077593.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: Albert-Jan Roskam <sjeik_appie@hotmail.com>
Newsgroups: comp.lang.python
Subject: Re: pathlib.Path.is_file vs os.path.isfile difference
Date: Sun, 10 Mar 2024 14:33:02 +0100
Lines: 25
Message-ID: <mailman.78.1710077593.3452.python-list@python.org>
References: <dc87dbe0-23fc-4965-9429-c98f4eec9d1e@tompassin.net>
 <DB9PR10MB6689A7AB4F3D48E3B5639BB483252@DB9PR10MB6689.EURPRD10.PROD.OUTLOOK.COM>
Mime-Version: 1.0
Content-Type: text/plain; charset="utf-8"
X-Trace: news.uni-berlin.de H+jkH2OH7I0jTmxQ8yoJkwqq0+tHS+e/g88amJv0dN+w==
Cancel-Lock: sha1:U8xmiiSM4kqUT0gUCOr3yA8cjVY= sha256:efz5SLfPnEZy/qb8j3s0GFKpEY0sV1d1RdCE3l08hVU=
Return-Path: <sjeik_appie@hotmail.com>
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=hotmail.com header.i=@hotmail.com header.b=POciumH8;
 dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.029
X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'mar': 0.07; 'cc:addr
 :python-list': 0.09; '>': 0.14; 'cc:no real name:2**0': 0.14;
 '2024': 0.16; '=====': 0.16; 'barry': 0.16; 'limits.': 0.16;
 'subject:skip:o 10': 0.16; 'subject:skip:p 20': 0.16;
 'surprising.': 0.16; 'url:learn': 0.16; 'url:win32': 0.16;
 'windows.': 0.16; 'wrote:': 0.16; 'api': 0.17;
 'cc:addr:python.org': 0.20; 'ran': 0.22; 'cc:2**1': 0.23; 'email
 addr:python.org>': 0.28; 'error': 0.29; 'seem': 0.31; 'am,':
 0.31; 'python-list': 0.32; 'but': 0.32; 'there': 0.33; 'path':
 0.33; 'mean': 0.34; 'header:In-Reply-To:1': 0.34; 'posts': 0.36;
 'setting': 0.39; 'use': 0.39; 'exact': 0.40; '10,': 0.61;
 'remember': 0.61; 'leading': 0.63; 'back': 0.67; 'forget': 0.67;
 'depending': 0.70; 'longer': 0.71; 'details.': 0.76; 'device,':
 0.84; 'email name:<python-list': 0.84; 'url:windows': 0.84
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=nMe8oBUu08uPC8xkFF0TwUeFUaczJPuh6jWf4UF/H3HBp4LNL5w+5e8H53TBm3cuFypyBCE/ZakpnofOKmsJtY68C0y4m+1nFBmlpQpVGf4ieGZf3kT3i/WsPaJ/L3K54XmBZQFK6JAVOHFl5MbOaE9LCUB0S+L9/d85zEKRdrPxHohf7kViqtaoIoBzm1/osUxmPLmkNvq9o/undWqzfzqc/H47MOWk20owA1ngoKvSfBstQf92yX4DyHIaQacd9e8ziG3uQfQOHViNUPF3inoE1Vb/vAKXs/YUoYOQnRgjR7GQXTepFjyU6UShZkIDoPJIE4oDlKXZAgEqU6tsHw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=yGtenodSBL4PU6EfYuOgM5wPp2Kd27t0fuVT2UF+Fyc=;
 b=RBV1Ta2iXqbNApICGVWqWcr5PjzWY2rRH+lLcXx0dxaSD+yrW/txOnhVkEp0JeoPFE6AC7VNDcicm5oBJhLzHqy3Hp6VJhcBrjm/wwHS7l7WWYuWe8IWIvLCL845jKr2QNg1FXzI5eLCcHOI0akGq1FaMLievJfK5fV61d8W/uib+2uLLSWp5qm0jLloZ3DaMToq/ZoYpdPtCMwR7jMEQR6gk+Hq2Ri7TMGBDk3pygEG02XmyXcg/osZpEFaoUMHUTwFibXzZzun1rkSnNGlNoWhXdHGmm+F9OjTshzha/8bYIxXKAarZFnvmc5HwsYXC27VZpPxqCPXqHYJL6ud7Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=yGtenodSBL4PU6EfYuOgM5wPp2Kd27t0fuVT2UF+Fyc=;
 b=POciumH8evnlOtkaaON/s753+vcU7mqGTzhrLfms4MLCdBq24q20/tYWdkwyWy78UeYdKerh8lo01cwhap6YJqVtaPPQveKVEFSqS8pX/LQnL9PfN4UeN/CIMWwri7HfBjnDB8pfHmevv8dIh8BpOKjKDCHF/iS8OKsdS2J6AEusws2WpmYhHjzNRLwn6Igf2FAaKHFPsMWdj7uDPAzxObXB2Zt65DMDFBrkeN67UaQ2NyUep3Kt/a8AHkTKhA9pBD2NUT5xoUN35ksFy4xV4YdQcPy4EDBEwBKQFoA3mEZ0el0gGb6SypUJJso8zSwaSO7Amz1FQRCpeh3zuoNAyA==
X-Android-Message-ID: <f963a66b-563a-43d4-ae89-407d8ea56026@email.android.com>
In-Reply-To: <dc87dbe0-23fc-4965-9429-c98f4eec9d1e@tompassin.net>
X-TMN: [fynWX1AhtJihbZlbWPIA0jDc4713KTkB]
X-ClientProxiedBy: AM0PR02CA0151.eurprd02.prod.outlook.com
 (2603:10a6:20b:28d::18) To DB9PR10MB6689.EURPRD10.PROD.OUTLOOK.COM
 (2603:10a6:10:3d3::21)
X-Microsoft-Original-Message-ID: <f963a66b-563a-43d4-ae89-407d8ea56026@email.android.com>
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: DB9PR10MB6689:EE_|DB9PR10MB5571:EE_
X-MS-Office365-Filtering-Correlation-Id: bd0074c4-9793-4e71-72f7-08dc41069e3e
X-MS-Exchange-SLBlob-MailProps: YfhX3sd/0TXIsjXJU475FqWClZ12Vj+enQy/aejBwQVFOU4aYZGGRcFaAB09j8xu3gK+Tg4RcciCUe+6Nfd9kN+LnLjm8twq88N4pDmo0Q93eaIVHPTu0PWNK2tX+gE2l+OVcoHuhBc8lJwlpF678o97pyPh6GJ/FDppRrqTtT1VhRRoLx1Z901nv/6UvwSQl2mCK0HfOoTwcTGpjuoSXaXB3sxxZKR0AU6YhAwPgz/Fs4mzDJM1lmWAvej0KcP3Rx0AJzrEjv12FYJzJge7AxJoSAeMLt+JFs0CTt3eSiX4ZWiB+9yYdROVxKBldUfCLoEmSm5ahqglXMYdPp4gPM4PtJF7lj6I1tQIFYnY4s+YO4hnWDhY2+XdTw49IaYVLY82rER9KG6WfZjhRUKnY/TNFoCFiigsKnlgqy7TlxS5cdTwBxns4B39sjkzpUSkTrKg4nVeWG4sBU8beAo1iS47HDPzcvrY3pcFKJ96xmWC0vi743ZK6uQGO8KSR7XGu/XxnyKT1WhxxyfifNE3jAFDhpJ/2tOGsLFsLnj3ksAvIYvn+6IHXjy2tINP7FGoy7uK7QTk58InE0BlJh+JdtYTlV+NhNL8ISV/09cLOjOps8OPXcAV4DwH18ZBVMVEuGpqMinH044V1hXISirFt87wt/hNvbEwM2KHUlOhVBFnUiyhyfGdNBIvmGN07WQOPURakb9fJk9hKiJw2lcqcSFi+AZmJRJc57RmEQgH+vr4qH7XBZprBqdt3v7J/MKV4qcSBLrIKgZTy7y7k58zQmuMFj8QgMz3Kaie6npcI64=
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: u/DHSLnieThIcm43FntkjSv11GeIZKKICMekklWy9ED4pZ0A8dsu4TTigtaqypLRhSV9dWHVbUEjdxCDwJ6YitK5wGw8kvdcwv5ZEqLyq1Ek2Qri1VqXLDxmW2JG9LXg3DLyBE9CVIzQcGzSdjYaarhO4F6u/LJQRfpKJBsXlLOzfRh0EuMacmPPUPo6tQA7WNZ+5IEmlzRasjb0/frCMUuWe38FcdSzY3HsQsANioEOJ4dv+LduUgpx41CwZx35aQw/B7VvT7SMO3PzpnZL3XRdNzgjmq+emFeQjmU0uzCF8kt+lHegDnd/OJS105LoRqZZSLHfI2Rc73yz9KfKfpgFosh6KpLVMEzt0cK+tv3o8o6qDX99xr2YoH7NO3BAo8PdAQlHUygzTX7iwlmA7+b1VQropwKVBgpSJcyWzBkomyAOdQHa2NfgoybrIWqdqlSdW8AHqHcYAVlQKrTNw+3B6QljaBnqjPiV908oEv0ze0g6vV+mu/T8rS+lfaP/AvC3jzglETtzo8Hd+eAV77W7qN8oHiD3Yts+fow+QxaKXtIhMTT0zLQjua3toPvvv4KIHjsmk39kF3A8mSv5AH+3wm0zhrB5V08CW7Rz0FmAlFOf57EfgQSU3g7GXn4J3UF+hYfFbo/H1U7TJl0dXWVGKgno0G4KH/oXH11ynWw=
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bjFqTVMwaldqR2NhcmhDUHNxZHBhbGUxMXZCZWxHWXhyZlIwbkhzc0hoMFZB?=
 =?utf-8?B?VFVNeGVrZDhjQTdXeElLZVFrYjlsTDczLzh6aVRWRlpnWWpBRk5nbGNlaU0v?=
 =?utf-8?B?L3dvaWk3NFBmSi94U0tJRWRuTzVYT3RxQWUzZmhpZ3NYTzV1cndXcDlqTGdJ?=
 =?utf-8?B?UHhSalFKRDFyTkQ0bjliSzhYTkZxRlVrZ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JNRlpH?=
 =?utf-8?B?cS94bDIyQ0JpT0x6V2NuU2xraU9ZcGIwOTNlUXBIUEVhRUhKRmpwNitzVWhF?=
 =?utf-8?B?Tjc5VnV2K0p6bXJpNGNTc1pua3d6QVgvUzVxVnFtcHR5VmQzYVNvRzVhVnJH?=
 =?utf-8?B?Qm81MjRSMmRJREtsbnc1czRzNElGS2RoQllRbmxQWXJFRk8yMW9HRUdSeW9Y?=
 =?utf-8?B?WUtBaDFkMFNIOW5YZlM1bkNhL2djU0F1M2lGVWpLYjAwQ2J6R202Rm5GVFB1?=
 =?utf-8?B?clF4emZIYTd5WkFOWDZxaHRYYWUyWDFCc2IvTHFaVUlIMUxONVZ2RTdBbTJp?=
 =?utf-8?B?MGI2cWlPenFvLzI5VGZweXNYMjE4WmoramhyUkUyYzhOQTRERk1IN3dBNnha?=
 =?utf-8?B?cmgyVnluR1l4M1NjQnRSb1owUWcrS1dlTTBsRnM4WUlZMUVwZERkSWtCclNu?=
 =?utf-8?B?WFZaODdUNXVSb0g0eEUyYnFsTHdxZUJ2QitnZ2wrNG85NUJCTWtsakpGbSsv?=
 =?utf-8?B?VHpYTEtNdHJpSjVqM0xuM3diMWtzVUhhNDBxOWRqc3BQWkhzS0ZVbEc1cXA1?=
 =?utf-8?Q?ibKZoR/On6T4V8fItf1AVFjd4EYEfKbf6CDk7BVg1xQk=3D?=
X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-6b909.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: bd0074c4-9793-4e71-72f7-08dc41069e3e
X-MS-Exchange-CrossTenant-AuthSource: DB9PR10MB6689.EURPRD10.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2024 13:33:06.6961 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR10MB5571
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
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: <DB9PR10MB6689A7AB4F3D48E3B5639BB483252@DB9PR10MB6689.EURPRD10.PROD.OUTLOOK.COM>
Bytes: 10553

   On Mar 10, 2024 12:59, Thomas Passin via Python-list
   <python-list@python.org> wrote:

     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.

   =====
   You mean the "\\?\" prefix?
   https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry