[issue20177] Derby #8: Convert 28 sites to Argument Clinic across 2 files

Nikolaus Rath report at bugs.python.org
Sun Jan 19 02:03:17 CET 2014


Nikolaus Rath added the comment:

Here is a patch for timemodule.c. I have converted everything except: 

* ctime() uses the gettmarg() function. Converting gettmarg() itself doesn't seem possible to me (because it's not Python callable), and duplicating the functionality in a single complicated clinic section just for ctime() did not seem reasonable either.

* gmtime(), localtime(), ctime() use a the parse_time_t_args() utility function. I have not yet figured out how to replace this with argument clinic (sent a mail to python-dev about that).

----------
Added file: http://bugs.python.org/file33534/timemodule.patch

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


More information about the Python-bugs-list mailing list