This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients 4-launchpad-kalvdans-no-ip-org, Jim Fasarakis-Hilliard, barneygale, brett.cannon, docs@python, eryksun, methane, pitrou, serhiy.storchaka
Date 2022-01-31.23:20:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643671211.56.0.533944706707.issue29688@roundup.psfhosted.org>
In-reply-to
Content
> 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.
History
Date User Action Args
2022-01-31 23:20:11eryksunsetrecipients: + eryksun, brett.cannon, pitrou, methane, docs@python, serhiy.storchaka, Jim Fasarakis-Hilliard, 4-launchpad-kalvdans-no-ip-org, barneygale
2022-01-31 23:20:11eryksunsetmessageid: <1643671211.56.0.533944706707.issue29688@roundup.psfhosted.org>
2022-01-31 23:20:11eryksunlinkissue29688 messages
2022-01-31 23:20:11eryksuncreate