summaryrefslogtreecommitdiffstats
path: root/Tools/clinic/libclinic/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-113317: Argument Clinic: Add libclinic.converters module (#117315)Victor Stinner2024-04-021-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the following converter classes to libclinic.converters: * PyByteArrayObject_converter * PyBytesObject_converter * Py_UNICODE_converter * Py_buffer_converter * Py_complex_converter * Py_ssize_t_converter * bool_converter * byte_converter * char_converter * defining_class_converter * double_converter * fildes_converter * float_converter * int_converter * long_converter * long_long_converter * object_converter * self_converter * short_converter * size_t_converter * slice_index_converter * str_converter * unicode_converter * unsigned_char_converter * unsigned_int_converter * unsigned_long_converter * unsigned_long_long_converter * unsigned_short_converter Move also the following classes to libclinic.converters: * buffer * robuffer * rwbuffer Move the following functions to libclinic.converters: * correct_name_for_self() * r() * str_converter_key() Move Null and NULL to libclinic.utils.
* gh-113317, AC: Add libclinic.function (#116807)Victor Stinner2024-03-141-1/+17
| | | | | | Move Module, Class, Function and Parameter classes to a new libclinic.function module. Move VersionTuple and Sentinels to libclinic.utils.
* gh-113317: Move FormatCounterFormatter into libclinic (#114066)Erlend E. Aasland2024-01-141-3/+26
|
* gh-113317: Move global utility functions into libclinic (#113986)Erlend E. Aasland2024-01-141-0/+45
Establish Tools/clinic/libclinic/utils.py and move the following functions over there: - compute_checksum() - create_regex() - write_file()