Hey Python on Windows folks,
I just wanted to send this as a heads up about what seems to be a bug
I've run into with newer pre-GA releases of Python 3.12 (cf. 3.12a7 and
3.12b1).
I've filed an issue on the CPython repo:
https://github.com/python/cpython/issues/105212
The gist is that up to 3.12a6 I get meaningful information from stat
(either os.stat or pathlib.Path.stat) from a file accessed from a
Windows Server 2019 VM over SMB 3.1 and after upgrading beyond that I
get all zeros for time fields.
The offending commit seems to be this one:
https://github.com/python/cpython/commit/0f175766e27642108c65bba04bbd54dcf8799b0e
Just a heads up for folks who might be playing with Python 3.12 early
(now with pathlib.Path.walk!) in a Windows/CIFS/SMB environment.
I still have a feeling I'm going to be told that I'm "holding it wrong"
with this (and I welcome it if that's the case).
Cheers!
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32