GH-87646: Make `tempfile.NamedTemporaryFile` and `TemporaryDirectory` path-like
Add __fspath__() methods to tempfile.NamedTemporaryFile and TemporaryDirectory.
- Issue: gh-87646
📚 Documentation preview 📚: https://cpython-previews--114765.org.readthedocs.build/
When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.
I have made the requested changes; please review again.
Thanks for making the requested changes!
@brettcannon: please review the changes made to this pull request.
: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.
@barneygale I'm not sure if you want to still land this, but it will have to target 3.15 now.