Victor Stinner
b270b82f11
gh-91320: Argument Clinic uses _PyCFunction_CAST() ( #32210 )
...
Replace "(PyCFunction)(void(*)(void))func" cast with
_PyCFunction_CAST(func).
2022-05-03 20:25:41 +02:00
Inada Naoki
6773203487
bpo-47000: Add `locale.getencoding()` (GH-32068)
2022-04-09 09:54:54 +09:00
Victor Stinner
b62bdf71ea
bpo-42208: Add _locale._get_locale_encoding() (GH-23052)
...
* Add a new _locale._get_locale_encoding() function to get the
current locale encoding.
* Modify locale.getpreferredencoding() to use it.
* Remove the _bootlocale module.
2020-10-31 01:32:11 +01:00
Zackery Spytz
bbceef6851
bpo-20183: Convert _locale to the Argument Clinic (GH-14201)
2020-07-15 12:07:34 +03:00