Author jaraco
Recipients jaraco, paul.moore, steve.dower, tim.golden, zach.ware
Date 2020-05-17.03:26:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1589685995.41.0.350903765679.issue40654@roundup.psfhosted.org>
In-reply-to
Content
In https://github.com/jaraco/path/issues/186, the Path project discovered a regression with Python 3.8. It seems that if one creates a symlink with an absolute path. I used `shutil.copytree('temp', 'temp2', True)` and it produced this result:

```
~ # dir temp
 Volume in drive C has no label.
 Volume Serial Number is B8F4-40BB

 Directory of C:\Users\jaraco\temp

2020-05-16  11:05 PM    <DIR>          .
2020-05-16  11:05 PM    <DIR>          ..
2020-05-16  11:05 PM    <SYMLINK>      bar [c:\Users\jaraco\temp\foo]
2020-05-16  11:04 PM                 0 foo
               2 File(s)              0 bytes
               2 Dir(s)  17,495,805,952 bytes free
~ # dir temp2
 Volume in drive C has no label.
 Volume Serial Number is B8F4-40BB

 Directory of C:\Users\jaraco\temp2

2020-05-16  11:05 PM    <DIR>          .
2020-05-16  11:05 PM    <DIR>          ..
2020-05-16  11:06 PM    <SYMLINK>      bar [\\?\c:\Users\jaraco\temp\foo]
2020-05-16  11:04 PM                 0 foo
               2 File(s)              0 bytes
               2 Dir(s)  17,495,846,912 bytes free
```

As you can see, in the copy, bar has an additional `\\?\` prefix on the symlink path. On Python 3.7 and earlier, the copy was made without mutating the metadata.
History
Date User Action Args
2020-05-17 03:26:35jaracosetrecipients: + jaraco, paul.moore, tim.golden, zach.ware, steve.dower
2020-05-17 03:26:35jaracosetmessageid: <1589685995.41.0.350903765679.issue40654@roundup.psfhosted.org>
2020-05-17 03:26:35jaracolinkissue40654 messages
2020-05-17 03:26:35jaracocreate