[issue31137] Add a path attribute to NamedTemporaryFile

2022-01-04 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue31137] Add a path attribute to NamedTemporaryFile

2017-08-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 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 protoco

[issue31137] Add a path attribute to NamedTemporaryFile

2017-08-07 Thread Wilfredo Sanchez
New submission from Wilfredo Sanchez: Add a path attribute to NamedTemporaryFile which provides a pathlib.Path object pointing to the file on disk. -- components: Library (Lib) messages: 299884 nosy: wsanchez priority: normal severity: normal status: open title: Add a path attribute to