From: SourceForge.net <no...@so...> - 2007-09-24 01:00:15
|
Bugs item #1763263, was opened at 2007-07-29 22:48 Message generated for change (Settings changed) made by pjenvey You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1763263&group_id=12867 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None >Group: targeted for 2.2.1rc1 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Pekka Laukkanen (laukpe) >Assigned to: Philip Jenvey (pjenvey) Summary: os.utime(path, None) doesn't work (incl. a patch) Initial Comment: 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. ---------------------------------------------------------------------- Comment By: Pekka Laukkanen (laukpe) Date: 2007-07-30 23:05 Message: Logged In: YES user_id=1379331 Originator: YES Ooops, there's a typo on the last line of the docstring: "moditified" -> "modified" I can make a new patch if needed. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1763263&group_id=12867 |