Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
8b1a6d694fa2f38cde77892c5ee0bb177be49db6
/
Lib
/
test
/
test_unicode.py
8b1a6d6
Code by Inyeol Lee, submitted to SF bug 595350, to implement
by Guido van Rossum
· 22 years ago
76afbd9
Fix some endcase bugs in unicode rfind()/rindex() and endswith().
by Guido van Rossum
· 22 years ago
cc8764c
Add C API PyUnicode_FromOrdinal() which exposes unichr() at C level.
by Marc-André Lemburg
· 22 years ago
f36921c
Unicode replace() method with empty pattern argument should fail, like
by Guido van Rossum
· 22 years ago
ca84d65
Expanded the unittests for the new width sensitive PyUnicode_Contains().
by Raymond Hettinger
· 22 years ago
e067417
Added a test for PyUnicode_Contains() taking into account the width of
by Barry Warsaw
· 22 years ago
817918c
Committing patch #591250 which provides "str1 in str2" when str1 is a
by Barry Warsaw
· 22 years ago
a729daf
Add encoding declaration.
by Martin v. Löwis
· 22 years ago
04f357c
Get rid of relative imports in all unittests. Now anything that
by Barry Warsaw
· 22 years ago
8ac1495
Whitespace normalization.
by Tim Peters
· 22 years ago
de02bcb
Apply patch diff.txt from SF feature request http://www.python.org/sf/444708
by Walter Dörwald
· 22 years ago
2ee4be0
Apply diff3.txt from SF patch http://www.python.org/sf/536241
by Walter Dörwald
· 22 years ago
863ac44
Whitespace normalization.
by Tim Peters
· 22 years ago
068325e
Apply the second version of SF patch http://www.python.org/sf/536241
by Walter Dörwald
· 22 years ago
ce0b664
Added test case for UTF-8 encoding bug #541828.
by Marc-André Lemburg
· 22 years ago
77f6a65
Add the 'bool' type and its values 'False' and 'True', as described in
by Guido van Rossum
· 22 years ago
eddd68d
As part of fixing bug #536241, add a test case for string.zfill() with Unicode
by Andrew M. Kuchling
· 22 years ago
047c05e
Do not insert characters for unicode-escape decoders if the error mode
by Martin v. Löwis
· 22 years ago
bd3be8f
Fix to the UTF-8 encoder: it failed on 0-length input strings.
by Marc-André Lemburg
· 22 years ago
3688a88
Fix for the UTF-8 memory allocation bug and the UTF-8 encoding
by Marc-André Lemburg
· 22 years ago
2b29cb2
Skipping some tests by adding the usual jython conditional test around:
by Finn Bock
· 23 years ago
82285da
Whitespace normalization.
by Tim Peters
· 23 years ago
41f0199
Adding test for Unicode repr()-output.
by Marc-André Lemburg
· 23 years ago
72f8213
Fix for bug #438164: %-formatting using Unicode objects.
by Marc-André Lemburg
· 23 years ago
0c4d8d0
Fix for bug #480188: printing unicode objects
by Marc-André Lemburg
· 23 years ago
b5507ec
Additional test and documentation for the unicode() changes.
by Marc-André Lemburg
· 23 years ago
527e64f
Whitespace normalization.
by Tim Peters
· 23 years ago
11310bf
Add tests for repr() of strings containing string quotes as well.
by Guido van Rossum
· 23 years ago
e4874ae
Test basic functioning of unicode repr(). (If this breaks Jython,
by Guido van Rossum
· 23 years ago
6871f6a
Implement the changes proposed in patch #413333. unicode(obj) now
by Marc-André Lemburg
· 23 years ago
c60e6f7
Patch #435971: UTF-7 codec by Brian Quinlan.
by Marc-André Lemburg
· 23 years ago
80d1dd5
Fix for bug #444493: u'\U00010001' segfaults with current CVS on wide builds.
by Marc-André Lemburg
· 23 years ago
6c6bfb7
Make the unicode-escape and the UTF-16 codecs handle surrogates
by Marc-André Lemburg
· 23 years ago
ce9b5a5
Encode surrogates in UTF-8 even for a wide Py_UNICODE.
by Martin v. Löwis
· 23 years ago
2f228e7
Get rid of the superstitious "~" in dict hashing's "i = (~hash) & mask".
by Tim Peters
· 23 years ago
542fe56
Fix for bug #417030: "print '%*s' fails for unicode string"
by Marc-André Lemburg
· 23 years ago
ef0a032
Patch by Finn Bock to make test_unicode.py work for Jython.
by Marc-André Lemburg
· 23 years ago
fde66e1
Fixed .capitalize() method of Unicode objects to work like the
by Marc-André Lemburg
· 23 years ago
a1374e4
Change verify() function to raise TestFailed, not AssertionError.
by Guido van Rossum
· 23 years ago
d2bf3b7
Whitespace normalization. Leaving tokenize_tests.py alone for now.
by Tim Peters
· 23 years ago
3661908
This patch removes all uses of "assert" in the regression test suite
by Marc-André Lemburg
· 23 years ago
3a645e4
Added checks to prevent PyUnicode_Count() from dumping core
by Marc-André Lemburg
· 23 years ago
a866df8
This patch changes the default behaviour of the builtin charmap
by Marc-André Lemburg
· 24 years ago
8b26454
Test more split argument combinations:
by Guido van Rossum
· 24 years ago
15ffc71
Slight improvement to Unicode test suite, inspired by patch #102563:
by Guido van Rossum
· 24 years ago
004d5e6
Make reindent.py happy (convert everything to 4-space indents!).
by Fred Drake
· 24 years ago
b96d802
Updated test with a case which checks for the bug reported in
by Marc-André Lemburg
· 24 years ago
e503437
Removing UTF-16 aware Unicode comparison code. This kind of compare
by Marc-André Lemburg
· 24 years ago
d6d06ad
Tests for new surrogate support in the UTF-8 codec. By Bill Tutt.
by Marc-André Lemburg
· 24 years ago
b6d78fcd
Tests for new instance support in unicode().
by Marc-André Lemburg
· 24 years ago
9d46741
Added tests for the new .isalpha() and .isalnum() methods.
by Marc-André Lemburg
· 24 years ago
af69f15
Marc-Andre Lemburg <mal@lemburg.com>:
by Marc-André Lemburg
· 24 years ago
a6f73d6
Marc-Andre Lemburg <mal@lemburg.com>:
by Marc-André Lemburg
· 24 years ago
bddf502
Marc-Andre Lemburg <mal@lemburg.com>:
by Marc-André Lemburg
· 24 years ago
8462573
Marc-Andre Lemburg <mal@lemburg.com>:
by Marc-André Lemburg
· 24 years ago
59a044b
Marc-Andre Lemburg <mal@lemburg.com>:
by Marc-André Lemburg
· 24 years ago
774c931
M.-A. Lemburg <mal@lemburg.com>:
by Fred Drake
· 24 years ago
6650320
Get rid of memory leak caused by assingning sys.exc_info() to a local.
by Guido van Rossum
· 24 years ago
e0243e2
M.-A. Lemburg <mal@lemburg.com>:
by Fred Drake
· 24 years ago
7ee801d
Marc-Andre Lemburg:
by Guido van Rossum
· 24 years ago
9706486
Marc-Andre Lemburg:
by Guido van Rossum
· 24 years ago
9e896b3
Marc-Andre's third try at this bulk patch seems to work (except that
by Guido van Rossum
· 24 years ago
24bdb04
Marc-Andre Lemburg:
by Guido van Rossum
· 24 years ago
d8855fd
Marc-Andre Lemburg:
by Guido van Rossum
· 24 years ago
51ac580
On 17-Mar-2000, Marc-Andre Lemburg said:
by Barry Warsaw
· 24 years ago
d4d2684
Marc-Andre Lemburg: Add tests for mixed use of char in string.
by Guido van Rossum
· 24 years ago
a831cac
Marc-Andre Lemburg: test script for Unicode implementation.
by Guido van Rossum
· 24 years ago