Message412223
> I'd imagine that bug is reproducible with `Path('C:\\Temp', 'C:')`
> already, right? If that's the case, should it logged as a
> separate issue?
Yes, it's a separate issue that affects the _from_parts() call in absolute().
How about designing absolute() to create a new instance from an absolute path that's created by os.path? For example:
join(abspath(self.drive) if self.drive else getcwd(), self)
Of course use accessor functions. |
|
Date |
User |
Action |
Args |
2022-01-31 23:20:11 | eryksun | set | recipients:
+ eryksun, brett.cannon, pitrou, methane, docs@python, serhiy.storchaka, Jim Fasarakis-Hilliard, 4-launchpad-kalvdans-no-ip-org, barneygale |
2022-01-31 23:20:11 | eryksun | set | messageid: <1643671211.56.0.533944706707.issue29688@roundup.psfhosted.org> |
2022-01-31 23:20:11 | eryksun | link | issue29688 messages |
2022-01-31 23:20:11 | eryksun | create | |
|