[issue20180] Derby #11: Convert 50 sites to Argument Clinic across 9 files

Tal Einat report at bugs.python.org
Wed Jan 22 02:30:06 CET 2014


Tal Einat added the comment:

Attaching a new patch for complete conversion of Objects/unicodeobject.c.
This is to replace the previous patch for this file.

This new patch also converts all other possible unicode methods,
including those not using PyArg_* functions. This includes various
methods with no arguments or with one PyObject* argument.

Unicode methods still not converted, probably impossible to convert:
1) The various find methods (index, count, startswith, rfind, etc.),
   because they use a special function
   'stringlib_parse_args_finds_unicode' to parse their arguments
2) format and format_map, since they are defined elsewhere
3) _decimal2ascii, since it is just for debugging

----------
Added file: http://bugs.python.org/file33604/unicodeobject.c_2.patch

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


More information about the Python-bugs-list mailing list