cpython icon indicating copy to clipboard operation
cpython copied to clipboard

GH-87646: Make `tempfile.NamedTemporaryFile` and `TemporaryDirectory` path-like

Open barneygale opened this issue 1 year ago • 3 comments

Add __fspath__() methods to tempfile.NamedTemporaryFile and TemporaryDirectory.

  • Issue: gh-87646

📚 Documentation preview 📚: https://cpython-previews--114765.org.readthedocs.build/

barneygale avatar Jan 30 '24 21:01 barneygale

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

bedevere-app[bot] avatar Feb 17 '24 04:02 bedevere-app[bot]

I have made the requested changes; please review again.

barneygale avatar Jun 29 '24 20:06 barneygale

Thanks for making the requested changes!

@brettcannon: please review the changes made to this pull request.

bedevere-app[bot] avatar Jun 29 '24 20:06 bedevere-app[bot]

:robot: New build scheduled with the buildbot fleet by @hugovk for commit fc0ff048dd6c870b49649b6d259f1ff9b425b602 :robot:

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F114765%2Fmerge

If you want to schedule another build, you need to add the :hammer: test-with-buildbots label again.

bedevere-bot avatar May 02 '25 08:05 bedevere-bot

@barneygale I'm not sure if you want to still land this, but it will have to target 3.15 now.

brettcannon avatar Jul 25 '25 22:07 brettcannon