]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
backport gvanrossum's checkin of
authorMichael W. Hudson <mwh@python.net>
Fri, 23 Aug 2002 16:27:40 +0000 (16:27 +0000)
committerMichael W. Hudson <mwh@python.net>
Fri, 23 Aug 2002 16:27:40 +0000 (16:27 +0000)
commitc548fbf940dab7566b88a988868e8025de9aef1b
tree1d990e9ccf2967d11e77e6092f9faa72bedbd165
parent72a67ca6fb4245156679cf613d0a75a7d6be4201
backport gvanrossum's checkin of
    revision 2.234 of posixmodule.c

SF bug 563750 (Alex Martelli): posix_tmpfile():

The file returned by tmpfile() has mode w+b, so use that in the call
to PyFile_FromFile().

Bugfix candidate.
Modules/posixmodule.c