Message320007
| Author | aberger5b |
|---|---|
| Recipients | Alok Singh, aberger5b, barry, pitrou |
| Date | 2018-06-19.23:34:13 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1529451253.62.0.56676864532.issue33301@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I think the idea is that either a subdir or file could be valid inputs.
So `Path('/usr/bar') in Path('/etc/foo')` return True if `Path('/etc/foo/usr/bar')` is either a dir or file.
As for PurePath, I did overlook that accessing an inode via a call to stat would be considered filesystem IO. So putting that method in Path (if this turns out to be a good idea) is the better option. Thanks |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-06-19 23:34:13 | aberger5b | set | recipients: + aberger5b, barry, pitrou, Alok Singh |
| 2018-06-19 23:34:13 | aberger5b | set | messageid: <1529451253.62.0.56676864532.issue33301@psf.upfronthosting.co.za> |
| 2018-06-19 23:34:13 | aberger5b | link | issue33301 messages |
| 2018-06-19 23:34:13 | aberger5b | create | |