Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
057119b0b77aec2956e6beb3de8a0690bca67644
/
Objects
/
unicodeobject.c
« Previous
f5b62a9
Consolidate the occurrances of the prime used as the multiplier when hashing.
by Gregory P. Smith
· 13 years ago
63e6c32
Consolidate the occurrances of the prime used as the multiplier when hashing
by Gregory P. Smith
· 13 years ago
c8d8b88
fix possible refleaks if PyUnicode_READY fails
by Benjamin Peterson
· 13 years ago
bac7949
always explicitly check for -1 from PyUnicode_READY
by Benjamin Peterson
· 13 years ago
d5890c8
add str.casefold() (closes #13752)
by Benjamin Peterson
· 13 years ago
53aa1d7
fix possible if unlikely leak
by Benjamin Peterson
· 13 years ago
e51757f
move do_title to a better place
by Benjamin Peterson
· 13 years ago
821e4cf
make fix_decimal_and_space_to_ascii check if it modifies the string
by Benjamin Peterson
· 13 years ago
0c91392
kill capwords implementation which has been disabled since the begining
by Benjamin Peterson
· 13 years ago
b2bf01d
use full unicode mappings for upper/lower/title case (#12736)
by Benjamin Peterson
· 13 years ago
3fe5531
Add a new PyUnicode_Fill() function
by Victor Stinner
· 13 years ago
5e458f5
also decref the right thing
by Benjamin Peterson
· 13 years ago
4c13a4a
ready the correct string
by Benjamin Peterson
· 13 years ago
22a2970
fix some possible refleaks from PyUnicode_READY error conditions
by Benjamin Peterson
· 13 years ago
9ca3ffa
== -1 is convention
by Benjamin Peterson
· 13 years ago
e157cf1
make switch more robust
by Benjamin Peterson
· 13 years ago
c0b95d1
4 space indentation
by Benjamin Peterson
· 13 years ago
ead6b53
fix spacing around switch statements
by Benjamin Peterson
· 13 years ago
822c790
merge 3.2
by Benjamin Peterson
· 13 years ago
6099a03
Issue #13624: Write a specialized UTF-8 encoder to allow more optimization
by Victor Stinner
· 13 years ago
73f53b5
Optimize str * n for len(str)==1 and UCS-2 or UCS-4
by Victor Stinner
· 13 years ago
f644110
Issue #13621: Optimize str.replace(char1, char2)
by Victor Stinner
· 13 years ago
ab87021
Issue #10951: Fix compiler warnings in timemodule.c and unicodeobject.c
by Victor Stinner
· 13 years ago
2f19707
The locale decoder raises a UnicodeDecodeError instead of an OSError
by Victor Stinner
· 13 years ago
1b57967
Issue #13560: Locale codec functions use the classic "errors" parameter,
by Victor Stinner
· 13 years ago
ab59594
What's New in Python 3.3: complete the deprecation list
by Victor Stinner
· 13 years ago
1f33f2b
Issue #13560: os.strerror() now uses the current locale encoding instead of UTF-8
by Victor Stinner
· 13 years ago
f2ea71f
Issue #13560: Add PyUnicode_EncodeLocale()
by Victor Stinner
· 13 years ago
af02e1c
Add PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale()
by Victor Stinner
· 13 years ago
16e6a80
PyUnicode_Resize(): warn about canonical representation
by Victor Stinner
· 13 years ago
b0a82a6
Fix PyUnicode_Resize() for compact string: leave the string unchanged on error
by Victor Stinner
· 13 years ago
bf6e560
Make PyUnicode_Copy() private => _PyUnicode_Copy()
by Victor Stinner
· 13 years ago
7a9105a
resize_copy() now supports legacy ready strings
by Victor Stinner
· 13 years ago
488fa49
Rewrite PyUnicode_Append(); unicode_modifiable() is more strict
by Victor Stinner
· 13 years ago
c4b4954
Create unicode_result_unchanged() subfunction
by Victor Stinner
· 13 years ago
eaab604
Fix fixup() for unchanged unicode subtype
by Victor Stinner
· 13 years ago
e6b2d44
unicode_fromascii() doesn't check string content twice in debug mode
by Victor Stinner
· 13 years ago
a1d12bb
Call directly PyUnicode_DecodeUTF8Stateful() instead of PyUnicode_DecodeUTF8()
by Victor Stinner
· 13 years ago
382955f
Use directly unicode_empty instead of PyUnicode_New(0, 0)
by Victor Stinner
· 13 years ago
785938e
Move the slowest UTF-8 decoder to its own subfunction
by Victor Stinner
· 13 years ago
84def37
Fix error handling in resize_compact()
by Victor Stinner
· 13 years ago
8faf821
PyUnicode_FromWideChar() and PyUnicode_FromUnicode() raise a ValueError if a
by Victor Stinner
· 13 years ago
551ac95
Py_UNICODE_HIGH_SURROGATE() and Py_UNICODE_LOW_SURROGATE() macros
by Victor Stinner
· 13 years ago
6345be9
Close #13093: PyUnicode_EncodeDecimal() doesn't support error handlers
by Victor Stinner
· 13 years ago
1518e87
and back to the "magic" formula (with a comment) it is
by Benjamin Peterson
· 13 years ago
5944c36
cave to those who like readable code
by Benjamin Peterson
· 13 years ago
0268675
fix compiler warning by implementing this more cleverly
by Benjamin Peterson
· 13 years ago
ca4f207
find_maxchar_surrogates() reuses surrogate macros
by Victor Stinner
· 13 years ago
0d3721d
Issue #13441: Disable temporary the check on the maximum character until
by Victor Stinner
· 13 years ago
f8facac
Fix compiler warnings
by Victor Stinner
· 13 years ago
b84d723
(Merge 3.2) Issue #13093: Fix error handling on PyUnicode_EncodeDecimal()
by Victor Stinner
· 13 years ago
cfed46e
PyUnicode_FromKindAndData() fails with a ValueError if size < 0
by Victor Stinner
· 13 years ago
4288520
UTF-8 decoder: set consumed value in the latin1 fast-path
by Victor Stinner
· 13 years ago
d3df8ab
Replace _PyUnicode_READY_REPLACE() and _PyUnicode_ReadyReplace() with unicode_ready()
by Victor Stinner
· 13 years ago
f012450
Rewrite PyUnicode_TransformDecimalToASCII() to use the new Unicode API
by Victor Stinner
· 13 years ago
2d718f3
Remove an unused variable from PyUnicode_Copy()
by Victor Stinner
· 13 years ago
87af4f2
Simplify PyUnicode_Copy()
by Victor Stinner
· 13 years ago
5bbe5e7
Fix a compiler warning in _PyUnicode_CheckConsistency()
by Victor Stinner
· 13 years ago
42bf775
Rewrite PyUnicode_EncodeDecimal() to use the new Unicode API
by Victor Stinner
· 13 years ago
0a3229d
Issue #13417: speed up utf-8 decoding by around 2x for the non-fully-ASCII case.
by Antoine Pitrou
· 13 years ago
da29cc3
Issue #13441: _PyUnicode_CheckConsistency() dumps the string if the maximum
by Victor Stinner
· 13 years ago
9e30aa5
Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH()
by Victor Stinner
· 13 years ago
4ead7c7
PyObject_Str() ensures that the result string is ready
by Victor Stinner
· 13 years ago
b960b34
PyUnicode_AsUTF32String() calls directly _PyUnicode_EncodeUTF32(),
by Victor Stinner
· 13 years ago
77faf69
_PyUnicode_CheckConsistency() also checks maxchar maximum value,
by Victor Stinner
· 13 years ago
d5c4022
Remove the two ugly and unused WRITE_ASCII_OR_WSTR and WRITE_WSTR macros
by Victor Stinner
· 13 years ago
2e9cfad
Reuse surrogate macros in UTF-16 decoder
by Victor Stinner
· 13 years ago
ae4f7c8
charmap_encoding_error() uses the new Unicode API
by Victor Stinner
· 13 years ago
ac931b1
Use PyUnicode_EncodeCodePage() instead of PyUnicode_EncodeMBCS() with
by Victor Stinner
· 13 years ago
2216899
charmap encoders uses Py_UCS4, not Py_UNICODE
by Victor Stinner
· 13 years ago
1f79517
Catch PyUnicode_AS_UNICODE() errors
by Victor Stinner
· 13 years ago
11060a4
#13406: silence deprecation warnings in test_codecs.
by Ezio Melotti
· 13 years ago
78edf75
Issue #13333: The UTF-7 decoder now accepts lone surrogates
by Antoine Pitrou
· 13 years ago
5418ee0
Issue #13333: The UTF-7 decoder now accepts lone surrogates
by Antoine Pitrou
· 13 years ago
31b92a5
Sanitize reference management in the utf-8 encoder
by Antoine Pitrou
· 13 years ago
0290c7a
Fix regression on 2-byte wchar_t systems (Windows)
by Antoine Pitrou
· 13 years ago
44c6aff
Avoid crashing because of an unaligned word access
by Antoine Pitrou
· 13 years ago
de20b0b
Issue #13149: Speed up append-only StringIO objects.
by Antoine Pitrou
· 13 years ago
9f4b1e9
Fix and deprecated the unicode_internal codec
by Victor Stinner
· 13 years ago
24729f3
Prefer Py_UCS4 or wchar_t over Py_UNICODE
by Victor Stinner
· 13 years ago
ebf3ba8
PyUnicode_DecodeCharmap() uses the new Unicode API
by Victor Stinner
· 13 years ago
a98b28c
Avoid PyUnicode_AS_UNICODE in the UTF-8 encoder
by Victor Stinner
· 13 years ago
3326cb6
Fix "unicode_escape" encoder
by Victor Stinner
· 13 years ago
0e36826
Fix UTF-7 encoder on Windows
by Victor Stinner
· 13 years ago
1db7c13
Port encoders from Py_UNICODE API to unicode object API.
by Martin v. Löwis
· 13 years ago
62aa4d0
Strip trailing spaces
by Victor Stinner
· 13 years ago
0a045ef
Fix a compiler warning: use unsiged for maxchar in unicode_widen()
by Victor Stinner
· 13 years ago
596a6c4
Fix the code page decoder
by Victor Stinner
· 13 years ago
a8f63c0
Fix missing goto
by Antoine Pitrou
· 13 years ago
d10759f
Make _PyUnicode_FromId return borrowed references.
by Martin v. Löwis
· 13 years ago
e9b11c1
Change decoders to use Unicode API instead of Py_UNICODE.
by Martin v. Löwis
· 13 years ago
e30c0a1
Fix gdb/libpython.py for not ready Unicode strings
by Victor Stinner
· 13 years ago
2fc507f
Replace tabs by spaces
by Victor Stinner
· 13 years ago
12be46c
Drop Py_UNICODE based encode exceptions.
by Martin v. Löwis
· 13 years ago
3d32519
Port code page codec to Unicode API.
by Martin v. Löwis
· 13 years ago
fcd9653
Fix a compiler warning in unicode_encode_ucs1()
by Victor Stinner
· 13 years ago
fc026c9
Fix PyUnicode_EncodeCharmap()
by Victor Stinner
· 13 years ago
7931d9a
Replace PyUnicodeObject type by PyObject
by Victor Stinner
· 13 years ago
76a31a6
Cleanup decode_code_page_stateful() and encode_code_page()
by Victor Stinner
· 13 years ago
7581cef
Adapt the code page encoder to the new unicode_encode_call_errorhandler()
by Victor Stinner
· 13 years ago
Next »