Issue1755344

classification
Title: tempfile missing mkdtemp
Type: Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: cgroves, pjenvey
Priority: normal Keywords: test failure causes

Created on 2007-07-17.08:28:24 by cgroves, last changed 2007-11-23.00:38:48 by pjenvey.

Messages
msg1724 (view) Author: Charlie Groves (cgroves) Date: 2007-07-17.08:28:24
The Jython version of tempfile is missing the mkdtemp method.  This is causing test_shutil to fail in addition to just being a missing piece of functionality.  It looks like the existing tempfile.py in Lib is just an older version from CPython with slight Jython modifications.  The current version from CPythonLib should be examined when bringing this up to speed.
msg1725 (view) Author: Charlie Groves (cgroves) Date: 2007-08-06.00:06:35
See http://wiki.python.org/jython/JythonDeveloperGuide/VersionTransitionTestExclusions for how to get the test running again to fix this.
msg1726 (view) Author: Philip Jenvey (pjenvey) Date: 2007-08-07.23:07:04
I've done some work on updating tempfile to include mkdtemp, and some preliminary work on using java.File.createTempFile for somewhat of a mkstemp replacement (you can't provide the exact functionality of it because it returns a file descriptor) -- it's something that Tempfile/NamedTemporaryFile can utilize, anyway
msg1727 (view) Author: Philip Jenvey (pjenvey) Date: 2007-11-23.00:38:48
fixed in r3712
History
Date User Action Args
2007-07-17 08:28:24cgrovescreate