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 barneygale
Recipients barneygale
Date 2020-03-08.04:11:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583640668.8.0.328631342101.issue39897@roundup.psfhosted.org>
In-reply-to
Content
`pathlib.Path.is_mount()` calls `Path(self.parent)`, which:

- Is needless, as `self.parent` is already a Path instance!
- Prevents effective subclassing, as `self.parent` may be a `Path` subclass with its own `stat()` implementation
History
Date User Action Args
2020-03-08 04:11:08barneygalesetrecipients: + barneygale
2020-03-08 04:11:08barneygalesetmessageid: <1583640668.8.0.328631342101.issue39897@roundup.psfhosted.org>
2020-03-08 04:11:08barneygalelinkissue39897 messages
2020-03-08 04:11:08barneygalecreate