summaryrefslogtreecommitdiffstats
path: root/Modules/clinic/_localemodule.c.h
Commit message (Collapse)AuthorAgeFilesLines
* gh-90928: Statically Initialize the Keywords Tuple in Clinic-Generated Code ↵Eric Snow2022-08-111-1/+7
| | | | | | | | | | | | | | | | (gh-95860) We only statically initialize for core code and builtin modules. Extension modules still create the tuple at runtime. We'll solve that part of interpreter isolation separately. This change includes generated code. The non-generated changes are in: * Tools/clinic/clinic.py * Python/getargs.c * Include/cpython/modsupport.h * Makefile.pre.in (re-generate global strings after running clinic) * very minor tweaks to Modules/_codecsmodule.c and Python/Python-tokenize.c All other changes are generated code (clinic, global strings).
* gh-91320: Argument Clinic uses _PyCFunction_CAST() (#32210)Victor Stinner2022-05-031-7/+7
| | | | Replace "(PyCFunction)(void(*)(void))func" cast with _PyCFunction_CAST(func).
* bpo-47000: Add `locale.getencoding()` (GH-32068)Inada Naoki2022-04-091-8/+8
|
* bpo-42208: Add _locale._get_locale_encoding() (GH-23052)Victor Stinner2020-10-311-1/+19
| | | | | | * Add a new _locale._get_locale_encoding() function to get the current locale encoding. * Modify locale.getpreferredencoding() to use it. * Remove the _bootlocale module.
* bpo-20183: Convert _locale to the Argument Clinic (GH-14201)Zackery Spytz2020-07-151-0/+587