Message299898
You can just pass the name attribute to the pathlib.Path constructor. Adding a name attribute will not allow you to do what you can't do now, but will increase the coupling between the tempfile and pathlib modules. The purpose of introducing the path protocol was avoiding creating such couplings. |
|
Date |
User |
Action |
Args |
2017-08-08 05:30:39 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, wsanchez |
2017-08-08 05:30:39 | serhiy.storchaka | set | messageid: <1502170239.66.0.0410701609627.issue31137@psf.upfronthosting.co.za> |
2017-08-08 05:30:39 | serhiy.storchaka | link | issue31137 messages |
2017-08-08 05:30:39 | serhiy.storchaka | create | |
|