This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: ambiguity in os.tmpfile
Type: Stage:
Components: Documentation Versions: Python 2.3
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: edwardcannon, fdrake
Priority: normal Keywords:

Created on 2004-10-29 02:56 by edwardcannon, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg22936 - (view) Author: edward (edwardcannon) Date: 2004-10-29 02:56
tmpfile documentation states that "Return a new file
object opened in update mode ("w+b")."
update mode is "a" the specified modes is "write,
binary", unclear which is correct
msg22937 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2004-11-05 05:18
Logged In: YES 
user_id=3066

I'm not sure why you think that "a" is update mode; "a"
indicates append, not necessarily general update.  Since the
documentation states explicitly that "w+b" in what's meant,
there's no ambiguity.
History
Date User Action Args
2022-04-11 14:56:07adminsetgithub: 41100
2004-10-29 02:56:52edwardcannoncreate