[issue31057] pydoc for tempfile.TemporaryDirectory should say it returns the name

2022-02-06 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue31057] pydoc for tempfile.TemporaryDirectory should say it returns the name

2022-01-25 Thread Irit Katriel
Irit Katriel added the comment: The OP seems to have abandoned this and all it got was a +0 for changing, so I suggest we close it. -- nosy: +iritkatriel resolution: -> wont fix status: open -> pending ___ Python tracker

[issue31057] pydoc for tempfile.TemporaryDirectory should say it returns the name

2017-07-28 Thread R. David Murray
R. David Murray added the comment: Boy, I wasn't thinking very clearly when I wrote that. As pointed out on the PR, tempfile.TemporaryDirectory of course returns a TemporaryDirectory object. That's in the nature of Python. I was reading so poorly that I didn't even notice it was the

[issue31057] pydoc for tempfile.TemporaryDirectory should say it returns the name

2017-07-27 Thread R. David Murray
R. David Murray added the comment: It actually returns the path, since "name" often means the last component of the path. Just saying "path" might be confused with pathlib, though. So I guess we'd have to say "returning its path as a string", which sounds awkward. The original wording is

[issue31057] pydoc for tempfile.TemporaryDirectory should say it returns the name

2017-07-27 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +2968 ___ Python tracker ___

[issue31057] pydoc for tempfile.TemporaryDirectory should say it returns the name

2017-07-27 Thread Thomas Thurman
New submission from Thomas Thurman: Currently the pydoc for tempfile.TemporaryDirectory begins "Create and return a temporary directory." It doesn't explain anywhere *what* it returns (in fact, it returns the name of the directory as a string). The return type is further obscured by