Issue1763263
Created on 2007-07-29.21:48:46 by pekka.klarck, last changed 2007-09-24.01:26:06 by pjenvey.
File name |
Uploaded |
Description |
Edit |
Remove |
utime.patch
|
pekka.klarck,
2007-07-29.21:48:46
|
|
|
|
msg1793 (view) |
Author: Pekka Klärck (pekka.klarck) |
Date: 2007-07-29.21:48:46 |
|
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.
|
msg1794 (view) |
Author: Pekka Klärck (pekka.klarck) |
Date: 2007-07-30.22:05:02 |
|
Ooops, there's a typo on the last line of the docstring: "moditified" -> "modified"
I can make a new patch if needed.
|
msg1795 (view) |
Author: Philip Jenvey (pjenvey) |
Date: 2007-09-24.01:26:06 |
|
committed in r3520 and r3522
I only removed the Java 1.2 check on trunk
thanks!
|
|
Date |
User |
Action |
Args |
2007-07-29 21:48:46 | pekka.klarck | create | |
|