Lines Matching +full:ansi +full:- +full:regex
1 :mod:`locale` --- Internationalization services
12 --------------
22 which in turn uses an ANSI C locale implementation if available.
46 :func:`setlocale` is not thread-safe on most systems. Applications typically
64 +----------------------+-------------------------------------+--------------------------------+
68 +----------------------+-------------------------------------+--------------------------------+
79 +----------------------+-------------------------------------+--------------------------------+
81 +----------------------+-------------------------------------+--------------------------------+
83 +----------------------+-------------------------------------+--------------------------------+
85 +----------------------+-------------------------------------+--------------------------------+
90 +----------------------+-------------------------------------+--------------------------------+
95 +----------------------+-------------------------------------+--------------------------------+
98 +----------------------+-------------------------------------+--------------------------------+
102 +----------------------+-------------------------------------+--------------------------------+
106 +----------------------+-------------------------------------+--------------------------------+
109 +----------------------+-------------------------------------+--------------------------------+
112 +----------------------+-------------------------------------+--------------------------------+
115 +----------------------+-------------------------------------+--------------------------------+
118 +----------------------+-------------------------------------+--------------------------------+
122 +----------------------+-------------------------------------+--------------------------------+
129 +--------------+-----------------------------------------+
134 +--------------+-----------------------------------------+
137 +--------------+-----------------------------------------+
140 +--------------+-----------------------------------------+
143 +--------------+-----------------------------------------+
146 +--------------+-----------------------------------------+
148 +--------------+-----------------------------------------+
152 monetary strings are non-ASCII. This temporary change affects other threads.
161 Return some locale-specific information as a string. This function is not
178 represent date and time in a locale-specific way.
183 represent a date in a locale-specific way.
188 represent a time in a locale-specific way.
197 Get the name of the n-th day of the week.
207 Get the abbreviated name of the n-th day of the week.
211 Get the name of the n-th month.
215 Get the abbreviated name of the n-th month.
227 Get a regular expression that can be used with the regex function to
232 Get a regular expression that can be used with the regex(3) function to
239 :c:func:`regex` function from the C library, which might
244 Get the currency symbol, preceded by "-" if the symbol should appear before
255 then-emperor's reign.
266 locale-specific era-based way.
271 locale-specific era-based way.
276 locale-specific era-based way.
306 .. deprecated-removed:: 3.11 3.13
328 user preferences, so this function is not thread-safe. If invoking setlocale
331 On Android or if the :ref:`Python UTF-8 Mode <utf8-mode>` is enabled, always
332 return ``'utf-8'``, the :term:`locale encoding` and the *do_setlocale*
335 The :ref:`Python preinitialization <c-preinit>` configures the LC_CTYPE
339 The function now always returns ``"utf-8"`` on Android or if the
340 :ref:`Python UTF-8 Mode <utf8-mode>` is enabled.
347 * On Android and VxWorks, return ``"utf-8"``.
349 Return ``"utf-8"`` if ``nl_langinfo(CODESET)`` returns an empty string:
351 * On Windows, return the ANSI code page.
353 The :ref:`Python preinitialization <c-preinit>` configures the LC_CTYPE
358 function ignores the :ref:`Python UTF-8 Mode <utf8-mode>`.
380 .. deprecated-removed:: 3.11 3.13
393 Transforms a string to one that can be used in locale-aware
446 Formats a floating point number using the same format as the built-in function
507 application specific locale-aware messages. Messages displayed by the operating
551 --------------------------------------------
553 The C standard defines the locale as a program-wide property that may be
575 document that your module is not compatible with non-\ ``C`` locale settings.
585 whose high bit is set (i.e., non-ASCII bytes) are never converted or considered
589 .. _embedding-locale:
592 ----------------------------------------------------
602 all the work) from the table of built-in modules in the :file:`config.c` file,
607 .. _locale-gettext:
610 --------------------------