mirror of
https://github.com/python/cpython
synced 2024-11-02 12:55:22 +00:00
02e6bf7f20
locale.localeconv() now sets temporarily the LC_CTYPE locale to the LC_MONETARY locale if the two locales are different and monetary strings are non-ASCII. This temporary change affects other threads. Changes: * locale.localeconv() can now set LC_CTYPE to LC_MONETARY to decode monetary fields. * Add LocaleInfo.grouping_buffer: copy localeconv() grouping string since it can be replaced anytime if a different thread calls localeconv(). * _Py_GetLocaleconvNumeric() now requires a "struct lconv *" structure, so locale.localeconv() now longer calls localeconv() twice. Moreover, the function now requires all arguments to be non-NULL. * Rename STATIC_LOCALE_INFO_INIT to LocaleInfo_STATIC_INIT. * Move _Py_GetLocaleconvNumeric() definition from fileutils.h to pycore_fileutils.h. pycore_fileutils.h now includes locale.h. * The _locale module is now built with Py_BUILD_CORE defined. |
||
---|---|---|
.. | ||
internal | ||
abstract.h | ||
asdl.h | ||
ast.h | ||
bitset.h | ||
bltinmodule.h | ||
boolobject.h | ||
bytearrayobject.h | ||
bytes_methods.h | ||
bytesobject.h | ||
cellobject.h | ||
ceval.h | ||
classobject.h | ||
code.h | ||
codecs.h | ||
compile.h | ||
complexobject.h | ||
context.h | ||
coreconfig.h | ||
datetime.h | ||
descrobject.h | ||
dictobject.h | ||
dtoa.h | ||
dynamic_annotations.h | ||
enumobject.h | ||
errcode.h | ||
eval.h | ||
fileobject.h | ||
fileutils.h | ||
floatobject.h | ||
frameobject.h | ||
funcobject.h | ||
genobject.h | ||
graminit.h | ||
grammar.h | ||
import.h | ||
intrcheck.h | ||
iterobject.h | ||
listobject.h | ||
longintrepr.h | ||
longobject.h | ||
marshal.h | ||
memoryobject.h | ||
metagrammar.h | ||
methodobject.h | ||
modsupport.h | ||
moduleobject.h | ||
namespaceobject.h | ||
node.h | ||
object.h | ||
objimpl.h | ||
odictobject.h | ||
opcode.h | ||
osdefs.h | ||
osmodule.h | ||
parsetok.h | ||
patchlevel.h | ||
pgen.h | ||
pgenheaders.h | ||
py_curses.h | ||
pyarena.h | ||
pycapsule.h | ||
pyctype.h | ||
pydebug.h | ||
pydtrace.d | ||
pydtrace.h | ||
pyerrors.h | ||
pyexpat.h | ||
pyfpe.h | ||
pyhash.h | ||
pylifecycle.h | ||
pymacconfig.h | ||
pymacro.h | ||
pymath.h | ||
pymem.h | ||
pyport.h | ||
pystate.h | ||
pystrcmp.h | ||
pystrhex.h | ||
pystrtod.h | ||
Python-ast.h | ||
Python.h | ||
pythonrun.h | ||
pythread.h | ||
pytime.h | ||
rangeobject.h | ||
setobject.h | ||
sliceobject.h | ||
structmember.h | ||
structseq.h | ||
symtable.h | ||
sysmodule.h | ||
token.h | ||
traceback.h | ||
tracemalloc.h | ||
tupleobject.h | ||
typeslots.h | ||
ucnhash.h | ||
unicodeobject.h | ||
warnings.h | ||
weakrefobject.h |