- 12 Dec, 2011 1 commit
-
-
Victor Stinner authored
It has no sense to check if a not ready string is ASCII or not.
-
- 11 Dec, 2011 7 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
If maxchar_new == 0 and self is a unicode subtype, return u instead of duplicating u.
-
Victor Stinner authored
_PyUnicode_CheckConsistency() also checks string content.
-
Victor Stinner authored
* Remove micro-optimization from PyUnicode_FromStringAndSize(): PyUnicode_DecodeUTF8Stateful() has already these optimizations (for size=0 and one ascii char). * Rename utf8_max_char_size_and_char_count() to utf8_scanner(), and remove an useless variable
-
Victor Stinner authored
-
Victor Stinner authored
* Create decode_utf8_errors() * Reuse unicode_fromascii() * decode_utf8_errors() doesn't refit at the beginning * Remove refit_partial_string(), use unicode_adjust_maxchar() instead
-
Victor Stinner authored
-
- 10 Dec, 2011 16 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Giampaolo Rodola' authored
-
Florent Xicluna authored
-
Lars Gustäbel authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Victor Stinner authored
-
Charles-François Natali authored
-
Charles-François Natali authored
-
Florent Xicluna authored
-
Lars Gustäbel authored
-
Lars Gustäbel authored
-
Florent Xicluna authored
Issue #13248: turn 3.2's PendingDeprecationWarning into 3.3's DeprecationWarning (cgi, importlib, nntplib, smtpd).
-
- 09 Dec, 2011 12 commits
-
-
Florent Xicluna authored
-
Florent Xicluna authored
-
Florent Xicluna authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Florent Xicluna authored
-
Victor Stinner authored
Test the following functions: * codecs.raw_unicode_escape_decode() * PyUnicode_FromWideChar() * PyUnicode_FromUnicode() * "unicode_internal" and "unicode_escape" decoders
-
Victor Stinner authored
instead of UTF-8, if the wcsftime() function is not available.
-
Victor Stinner authored
UTF-8, if the wcsftime() function is not available.
-
Victor Stinner authored
Skip locales triggering the mbstowcs() bug. I collected the locale list thanks my previous commit: * hu_HU (ISO8859-2): character U+30000020 * de_AT (ISO8859-1): character U+30000076 * cs_CZ (ISO8859-2): character U+30000020 * sk_SK (ISO8859-2): character U+30000020 * pl_PL (ISO8859-2): character U+30000020 * fr_CA (ISO8859-1): character U+30000020
-
Victor Stinner authored
a mbstowcs() bug. For example, on Solaris, the hu_HU locale uses the locale encoding ISO-8859-2, the thousauds separator is b'\xA0' and it is decoded as U+30000020 (an invalid character) by mbstowcs(). The workaround is not enabled yet (commented): I would like first to get more information about the failing locales.
-
Victor Stinner authored
bug. On Solaris, if the locale is hu_HU (and if the locale encoding is not UTF-8), the thousauds separator is b'\xA0' which is decoded as U+30000020 instead of U+0020 by mbstowcs().
-
- 08 Dec, 2011 4 commits
-
-
Nadeem Vawda authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-