missing documentation on tempfile.NamedTempFile

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, in the docs for python 3.1.2, the argument list for tempfile.NamedTemporaryFile() is incomplete on http://docs.python.org/py3k/library/tempfile.html It does not mention the encoding and newline arguments. I haven't checked the other functions there but I assume this is not the only one (nor have I checked other versions, sorry). I found this out because I got quite unexpected errors when not using named parameters, which I know I should, but I was trying to find out why something else didn't work for me. On a related note, another nice addition would be to mention that if the prefix parameter is absolute, dir is ignored :) Thanks, Jelte -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvysfwACgkQ4nZCKsdOncX8owCg1wpMi3XSrSiHxWA8zDqvZGqx 5nAAn3kZ8y0vL1Eprh+0yyIgLYRbTb+S =FFMD -----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 18.05.2010 17:27, schrieb Jelte Jansen:
Dear Jelte, thanks for the report; this is now fixed in Subversion (for TemporaryFile and SpooledTemporaryFile as well) and will appear online shortly. regards, Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEARECAAYFAkv2+88ACgkQN9GcIYhpnLCoMQCfSzx4XH8cp9GS0lQu2NkWV0Bn 2u8AnRU4Lxb9bXg9RfoPuhKbthh2ggHg =9GPQ -----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 18.05.2010 17:27, schrieb Jelte Jansen:
Dear Jelte, thanks for the report; this is now fixed in Subversion (for TemporaryFile and SpooledTemporaryFile as well) and will appear online shortly. regards, Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEARECAAYFAkv2+88ACgkQN9GcIYhpnLCoMQCfSzx4XH8cp9GS0lQu2NkWV0Bn 2u8AnRU4Lxb9bXg9RfoPuhKbthh2ggHg =9GPQ -----END PGP SIGNATURE-----
participants (2)
-
Georg Brandl
-
Jelte Jansen