[issue26261] NamedTemporaryFile documentation is vague about the `name` attribute

2016-02-22 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue26261] NamedTemporaryFile documentation is vague about the `name` attribute

2016-02-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset f1982e1426ce by Martin Panter in branch '3.5': Issue #26261: Clarify NamedTemporaryFile name attribute vs file.name https://hg.python.org/cpython/rev/f1982e1426ce New changeset 837bae8c8ae7 by Martin Panter in branch 'default': Issue #26261: Merge N

[issue26261] NamedTemporaryFile documentation is vague about the `name` attribute

2016-02-19 Thread Martin Panter
Martin Panter added the comment: Here is my proposed patch. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file41977/tempfile-name.patch ___ Python tracker ___

[issue26261] NamedTemporaryFile documentation is vague about the `name` attribute

2016-02-02 Thread Gedai Tamás Bence
Gedai Tamás Bence added the comment: Antti, would you like to provide a patch? If you don't want to work on it, I can give it a try. -- nosy: +beng94 ___ Python tracker ___

[issue26261] NamedTemporaryFile documentation is vague about the `name` attribute

2016-02-01 Thread Martin Panter
Martin Panter added the comment: Also the doc string could be updated. I guess suggesting “file.name” is even more confusing :) -- nosy: +martin.panter stage: -> needs patch versions: +Python 2.7, Python 3.5, Python 3.6 ___ Python tracker

[issue26261] NamedTemporaryFile documentation is vague about the `name` attribute

2016-02-01 Thread Antti Haapala
Changes by Antti Haapala : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue26261] NamedTemporaryFile documentation is vague about the `name` attribute

2016-02-01 Thread Antti Haapala
New submission from Antti Haapala: The documentation for NamedTemporaryFile is a bit vague. It says [--] That name can be retrieved from the name attribute of the file object. [--] The returned object is always a file-like object whose file attribute is the underlying true file object. This fil