[issue14127] add st_*time_ns fileds to os.stat(), add ns keyword to os.*utime*(), os.*utimens*() expects a number of nanoseconds

Larry Hastings report at bugs.python.org
Thu Mar 15 20:12:22 CET 2012


Larry Hastings <larry at hastings.org> added the comment:

Attached is a second patch that adds keyword-only argument support to PyArg_ParseTupleAndKeywords.  This was developed in isolation.

The magic character is '$'; I would have used '*', but we already use '*' in the format string as a modifier to 'U' and 's' etc.  If someone has a better idea for the format I'd be interested.  Martin suggested using '|' a second time but I am unsure.

(Re: no reitveld link: my repo must have drifted too far and the patch didn't align cleanly.  I've freshened and am rerunning the regression test; once that runs clean I'll upload a fresh patch.)

----------
Added file: http://bugs.python.org/file24874/larry.parsekwonly.diff.1.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14127>
_______________________________________


More information about the Python-bugs-list mailing list