You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading Python beyond 3.12a6 on Windows (I've been playing with pathlib.Path.walk), the stat fields returned by os.stat() and pathlib.Path.stat() seem incorrect; in particular the time fields are all 0.
I'm a Unix person turned NAS admin and there's a lot of change with the Windows stat API in that commit, so I'm not qualified to venture guesses about what's going on.
If nas is a CIFS/SMB server, then with the following code
CPython versions tested on: tagged releases 3.12a6, 3.12a7, and 3.12b1; a few commits between a6 and a7 when bisecting down to the issue. The "before/working" code above was compiled (with PCbuild\build.bat -e -p x64) at commit e108af6 and the "after/broken" at commit 0f17576.
Operating system and architecture: A Windows Server 2019 VM running on VMware 7.0U3 on an Intel Cascade Lake Xeon (x86_64). Selections from systeminfo
OS Name: Microsoft Windows Server 2019 Standard
OS Version: 10.0.17763 N/A Build 17763
...<snip>...
System Model: VMware7,1
System Type: x64-based PC
...<snip>...
BIOS Version: VMware, Inc. VMW71.00V.17369862.B64.2012240522, 12/24/2020
The file share I'm accessing is on a NetApp NAS running ONTAP 9.8P18 and was accessed over SMB 3.1.
The text was updated successfully, but these errors were encountered:
Bug report
After upgrading Python beyond 3.12a6 on Windows (I've been playing with pathlib.Path.walk), the stat fields returned by os.stat() and pathlib.Path.stat() seem incorrect; in particular the time fields are all 0.
I'm a Unix person turned NAS admin and there's a lot of change with the Windows stat API in that commit, so I'm not qualified to venture guesses about what's going on.
If
nas
is a CIFS/SMB server, then with the following codeprints (with output broken up to avoid scrolling)
before commit 0f17576 and
after.
Your environment
PCbuild\build.bat -e -p x64
) at commit e108af6 and the "after/broken" at commit 0f17576.systeminfo
The file share I'm accessing is on a NetApp NAS running ONTAP 9.8P18 and was accessed over SMB 3.1.
The text was updated successfully, but these errors were encountered: