Message348498
Right now, to know whether a Path is relative to another one, you have to call Path.relative_to(), catch ValueError, and act in consequence. It would be nice to have a Path.is_relative_to() that does the equivalent for you and returns True/False. This is probably a good easy issue for a beginner contributor. | |
| Date | User | Action | Args | | 2019-07-26 15:56:04 | pitrou | set | recipients: + pitrou, vstinner | | 2019-07-26 15:56:04 | pitrou | set | messageid: <1564156564.69.0.23140154802.issue37689@roundup.psfhosted.org> | | 2019-07-26 15:56:04 | pitrou | link | issue37689 messages | | 2019-07-26 15:56:04 | pitrou | create | | |