Closed Erotemic closed 2 weeks ago
Added in 1f46a199917. If the issue is causing you problems, you can modify the local version of stat.py and add the constants like in the changeset.
Closing, thanks for the report. Please reopen if I missed something.
Will this be in a patch release of pypy 3.9? The issue is that the stdlib shutil.copytree
itself is broken on win32 when these attributes are not present and the copied directory contains a symlink. I find it surprising that there isn't a test case for that, but it is somewhat specific. I'd prefer not to monkey patch the stats module if possible, as this is an issue with a library not a particular application.
There are nightly builds, they can be used in github CI via the nightly tag or can be downloaded from https://buildbot.pypy.org/nightly/
Initial discussion is here: https://github.com/orgs/pypy/discussions/4952
The issue is that on windows the
stat
module should define:but these are missing.