Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GH-124108: Skip test_locale.test_strcoll_with_diacritic() on NetBSD (#124110) | Furkan Onder | 2024-09-16 | 1 | -0/+4 |
| | | | | | Skip test_strcoll_with_diacritic() and test_strxfrm_with_diacritic() of test_locale on NetBSD due to lack of UTF-8 LC_COLLATE support. | ||||
* | gh-104783: locale.getencoding() fallback uses FS encoding (#105381) | Victor Stinner | 2023-06-06 | 1 | -0/+11 |
| | | | | | The locale.getencoding() function now uses sys.getfilesystemencoding() if _locale.getencoding() is missing, instead of calling locale.getdefaultlocale(). | ||||
* | gh-94226: Remove the locale.format() function (#94229) | Victor Stinner | 2022-06-26 | 1 | -71/+47 |
| | | | | | | | Remove the locale.format() function, deprecated in Python 3.7: use locale.format_string() instead. Remove TestFormatPatternArg test case: it is irrelevant for locale.format_string() which accepts complex formats. | ||||
* | gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846) | Christian Heimes | 2022-05-16 | 1 | -3/+9 |
| | |||||
* | gh-91156: Use `locale.getencoding()` instead of getpreferredencoding (GH-91732) | Inada Naoki | 2022-04-22 | 1 | -1/+9 |
| | | | Co-authored-by: Victor Stinner <vstinner@python.org> | ||||
* | bpo-40280: Skip more tests on Emscripten (GH-31947) | Christian Heimes | 2022-03-17 | 1 | -1/+3 |
| | | | | | | - lchmod, lchown are not fully implemented - skip umask tests - cannot fstat unlinked or renamed files yet - ignore musl libc issues that affect Emscripten | ||||
* | bpo-46659: Deprecate locale.getdefaultlocale() (GH-31206) | Victor Stinner | 2022-02-22 | 1 | -1/+2 |
| | | | | | | The locale.getdefaultlocale() function is deprecated and will be removed in Python 3.13. Use locale.setlocale(), locale.getpreferredencoding(False) and locale.getlocale() functions instead. | ||||
* | Fix typos in the Lib directory (GH-28775) | Christian Clauss | 2021-10-06 | 1 | -1/+1 |
| | | | | | Fix typos in the Lib directory as identified by codespell. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | bpo-34311: Add locale.localize (GH-15275) | Cédric Krier | 2021-04-12 | 1 | -0/+28 |
| | | | | * Add method localize to the locale module * Update the documentation of the locale module | ||||
* | bpo-37945: Fix test_locale.test_getsetlocale_issue1813() (#25110) | Victor Stinner | 2021-03-31 | 1 | -1/+7 |
| | | | Skip the test if setlocale() fails. | ||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21412) | Hai Shi | 2020-07-09 | 1 | -1/+2 |
| | |||||
* | bpo-38536: locale: Remove trailing space in formatted currency (GH-16864) | Inada Naoki | 2020-01-20 | 1 | -2/+1 |
| | |||||
* | bpo-18378: Recognize "UTF-8" as a valid name in locale._parse_localename ↵ | Ronald Oussoren | 2019-08-29 | 1 | -0/+36 |
| | | | | (GH-14736) | ||||
* | Remove unused imports in tests (GH-14518) | Victor Stinner | 2019-07-01 | 1 | -1/+1 |
| | |||||
* | Revert "bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800)" (GH-7919) | Victor Stinner | 2018-06-26 | 1 | -10/+9 |
| | | | This reverts commit 8fbbdf0c3107c3052659e166f73990b466eacbb0. | ||||
* | bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800) | Victor Stinner | 2018-06-22 | 1 | -9/+10 |
| | | | | | | | | * Add support.MS_WINDOWS: True if Python is running on Microsoft Windows. * Add support.MACOS: True if Python is running on Apple macOS. * Replace support.is_android with support.ANDROID * Replace support.is_jython with support.JYTHON * Cleanup code to initialize unix_shell | ||||
* | bpo-20087: Update locale alias mapping with glibc 2.27 supported locales. ↵ | Serhiy Storchaka | 2018-05-06 | 1 | -1/+1 |
| | | | | (ПР-6708) | ||||
* | [security] bpo-13617: Reject embedded null characters in wchar* strings. (#2302) | Serhiy Storchaka | 2017-06-28 | 1 | -0/+5 |
| | | | | | | | Based on patch by Victor Stinner. Add private C API function _PyUnicode_AsUnicode() which is similar to PyUnicode_AsUnicode(), but checks for null characters. | ||||
* | bpo-29972: Skip tests known to fail on AIX (#979) | Victor Stinner | 2017-04-04 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | * bpo-29972: Fix test_eintr on AIX On AIX, sigtimedwait(0.2) sleeps 199.8 ms, whereas the test expects 200 ms or longer. * bpo-29972: Skip some inet_pton() tests on AIX Skip some inet_pton() tests of test_socket on AIX. inet_pton() on AIX is less strict than on Linux and doesn't reject some invalid IP addresses. The unit tests test more the libc than Python itself. * bpo-29972: Skip tests known to fail on AIX * test_locale.test_strcoll_with_diacritic() * test_locale.test_strxfrm_with_diacritic() * test_strptime.test_week_of_year_and_day_of_week_calculation() * test_tools.test_POT_Creation_Date() | ||||
* | test_locale now ignores the DeprecationWarning (#977) | Victor Stinner | 2017-04-03 | 1 | -11/+13 |
| | | | | | Don't fail anymore if test run with python3 -Werror. Fix also deprecation message: add a space. | ||||
* | bpo-10379: add 'monetary' to format_string, deprecate format | Garvit Khatri | 2017-03-28 | 1 | -0/+5 |
| | | | | | | | Add the 'monetary' parameter to format_string so that all uses of format can be converted to format_string. Adjust the documentation accordingly, and add a deprecation warning when format is used. | ||||
* | bpo-20087: Revert "make the glibc alias table take precedence over the X11 ↵ | Benjamin Peterson | 2017-03-20 | 1 | -4/+1 |
| | | | | | one (#422)" (#713) This reverts commit 02371e0ed1ee82ec73e7d363bcf2ed40cde1397a. | ||||
* | make the glibc alias table take precedence over the X11 one (#422) | Benjamin Peterson | 2017-03-08 | 1 | -1/+4 |
| | | | bpo-20087 | ||||
* | Issue #28996: Skip two tests that fail on Android with the locale strcoll() and | Xavier de Gaye | 2016-12-19 | 1 | -2/+2 |
| | | | | strxfrm() functions. | ||||
* | Issue #23474: Enhanced locale testing. | Serhiy Storchaka | 2015-02-18 | 1 | -1/+1 |
|\ | |||||
| * | Issue #23474: Enhanced locale testing. | Serhiy Storchaka | 2015-02-18 | 1 | -1/+1 |
| | | |||||
* | | Issue #13918: Provide a locale.delocalize() function which can remove | Antoine Pitrou | 2014-10-23 | 1 | -0/+54 |
|/ | | | | | locale-specific number formatting from a string representing a number, without then converting it to a specific type. Patch by Cédric Krier. | ||||
* | Issue #20079: Fixed tests. | Serhiy Storchaka | 2014-10-02 | 1 | -1/+1 |
| | |||||
* | Issue #20046: Locale alias table no longer contains entities which can be | Serhiy Storchaka | 2013-12-26 | 1 | -0/+39 |
| | | | | calculated. Generalized support of the euro modifier. | ||||
* | Issue #20027: Fixed locale aliases for devanagari locales. | Serhiy Storchaka | 2013-12-26 | 1 | -0/+14 |
|\ | |||||
| * | Issue #20027: Fixed locale aliases for devanagari locales. | Serhiy Storchaka | 2013-12-26 | 1 | -0/+14 |
| | | |||||
| * | Don't use sebTest() in tests for issue #5815. | Serhiy Storchaka | 2013-12-19 | 1 | -2/+1 |
| | | |||||
| * | Issue #5815: Fixed support for locales with modifiers. Fixed support for | Serhiy Storchaka | 2013-12-19 | 1 | -0/+58 |
| | | | | | | | | locale encodings with hyphens. | ||||
* | | Issue #5815: Fixed support for locales with modifiers. Fixed support for | Serhiy Storchaka | 2013-12-19 | 1 | -0/+58 |
|/ | | | | locale encodings with hyphens. | ||||
* | Issue #17767: test_locale now works with unittest test discovery. | Serhiy Storchaka | 2013-07-17 | 1 | -58/+36 |
| | | | | Original patch by Zachary Ware. | ||||
* | Issue #15118: Change return value of os.uname() and os.times() from | Larry Hastings | 2012-06-24 | 1 | -1/+1 |
| | | | | | plain tuples to immutable iterable objects with named attributes (structseq objects). | ||||
* | Issue #1813: merge changeset that reverts a glibc workaround for the | Stefan Krah | 2012-02-02 | 1 | -3/+0 |
|\ | | | | | | | Fedora buildbot. | ||||
| * | Issue #1813: Revert workaround for a glibc bug on the Fedora buildbot. | Stefan Krah | 2012-02-02 | 1 | -3/+0 |
| | | |||||
* | | Issue #13441: Reenable strxfrm() tests on Solaris | Victor Stinner | 2011-11-21 | 1 | -4/+0 |
| | | |||||
* | | Issue #13441: Disable temporary strxfrm() tests on Solaris | Victor Stinner | 2011-11-21 | 1 | -0/+4 |
| | | |||||
* | | Issue #3067: Fix the error raised by locale.setlocale() | Petri Lehtinen | 2011-11-04 | 1 | -0/+8 |
|\ \ | |/ | |||||
| * | Issue #3067: Fix the error raised by locale.setlocale() | Petri Lehtinen | 2011-11-04 | 1 | -0/+8 |
| | | |||||
* | | Merge 68b5f87566fb | Stefan Krah | 2011-08-01 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | Skip test_getsetlocale_issue1813() on Fedora due to setlocale() bug. | Stefan Krah | 2011-08-01 | 1 | -0/+3 |
| | | | | | | | | See: https://bugzilla.redhat.com/show_bug.cgi?id=726536 | ||||
| * | Backport 0398f07d4827 (fix for weird buildbot failures) | Antoine Pitrou | 2011-07-26 | 1 | -3/+3 |
| | | |||||
* | | Try to fix weird buildbot failures | Antoine Pitrou | 2011-07-26 | 1 | -3/+3 |
| | | |||||
* | | Add debug output for failing buildbot | Antoine Pitrou | 2011-07-26 | 1 | -0/+2 |
|/ | |||||
* | Add a test for issue #1813: getlocale() failing under a Turkish locale | Antoine Pitrou | 2011-07-24 | 1 | -0/+13 |
| | | | | (not a problem under 3.x) | ||||
* | Issue #9868: locale was left changed after TestEnUSCollation#setUp raised | Hirokazu Yamamoto | 2010-09-23 | 1 | -1/+1 |
| | | | | TestSkip exception. | ||||
* | Merged revisions 80512 via svnmerge from | R. David Murray | 2010-04-27 | 1 | -0/+20 |
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80512 | r.david.murray | 2010-04-26 17:17:14 -0400 (Mon, 26 Apr 2010) | 7 lines Issue #6656: fix locale.format_string to handle escaped percents and mappings. Refactors format_string. Includes tests for the two problems noted in the issue, but as far as I can see there are no other tests that confirm that format_string conforms to normal % formatting rules. ........ |