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 |