It would be useful to support 'newline' and 'encoding' arguments in tempfile.TemporaryFile and friends. These new arguments would be passed directly into io.open. I've uploaded a patch for this to:
http://bugs.python.org/issue1033 The 'bufsize' argument to os.fdopen has changed to 'buffering' so I went ahead and made the same change to TemporaryFile etc. Is this a desirable? While in tempfile, I noticed that tempfile.mktemp() has the following comment: "This function is unsafe and should not be used." The docs list it as "Deprecated since release 2.3". Should it be removed in py3k? -- Adam Hupp | http://hupp.org/adam/ _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com