[Patches] [ python-Patches-810914 ] fix for mkstemp with relative
paths (bug #810408)
SourceForge.net
noreply at sourceforge.net
Mon Sep 22 21:18:40 EDT 2003
Patches item #810914, was opened at 2003-09-23 03:18
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=810914&group_id=5470
Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Bartl (midramas)
Assigned to: Nobody/Anonymous (nobody)
Summary: fix for mkstemp with relative paths (bug #810408)
Initial Comment:
Fixed:
- Added a testcase to test_tempfile.py to catch the bug
- Fixed mkstemp() to return absolute pathname
Bug description:
The document of tempfile.mkstemp says that,
"mkstemp() returns a tuple containing an OS-level
handle to an open file (as would be returned by
os.open()) and the absolute pathname of that file,
in that order."
However, if you specify the directory as relative path,
it doesn't return an absolute pathname.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=810914&group_id=5470
More information about the Patches
mailing list