You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2014-06-19.20:17:18.180>created_at=<Date2008-07-22.13:56:32.473>labels= ['extension-modules', 'build']
title='posixmodule.c always using res = utime(path, NULL)'updated_at=<Date2014-06-19.20:17:18.178>user='https://bugs.python.org/oskar86'
usage of these methods are used. If a time is specified in args, a
define determines which of the two methods to use, utime or utimes
depending if these exist or not.
If Py_None is sent instead utime is always used, the solution to solve
this is to use #ifdef with HAVE_UTIMES.
It seems reasonable to prefer utimes() over utime() in all cases, when
utimes() is available, since utime() is considered obsolete. I've
attached a patch with the required change and ran all the tests. There
are some tests failing on trunk with my system. However this patch
introduced no additional failures (test_posix passes). BTW, the patch is
against trunk.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: