Message1793

Author pekka.klarck
Recipients
Date 2007-07-29.21:48:46
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
os.utime in Jython 2.2rc2 doesn't allow using format os.utime(path, None). This format is supported already by Python 1.6 [1] and also by Python 2.2 [2] and newer.

[1] http://pydoc.org/1.6/os.html
[2] http://pydoc.org/2.2.3/os.html

Adding the support to this format is pretty trivial and it's handled by the attached patch. The patch also adds a docstring (copied from Python with a note that setting atime is not possible) and removes Java 1.2 support code that's not needed anymore.
History
Date User Action Args
2008-02-20 17:17:56adminlinkissue1763263 messages
2008-02-20 17:17:56admincreate