Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
5446bba269cedee3b93aa27eabcf2a7842fb1298
/
Objects
8faf821
PyUnicode_FromWideChar() and PyUnicode_FromUnicode() raise a ValueError if a
by Victor Stinner
· 13 years ago
b0e1f8b
Issue #13503: Use a more efficient reduction format for bytearrays with
by Antoine Pitrou
· 13 years ago
0a54cf1
Fix PyObject_Repr(): don't call PyUnicode_READY() if res is NULL
by Victor Stinner
· 13 years ago
b37b174
Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0)
by Victor Stinner
· 13 years ago
db88ae5
PyObject_Repr() ensures that the result is a ready Unicode string
by Victor Stinner
· 13 years ago
551ac95
Py_UNICODE_HIGH_SURROGATE() and Py_UNICODE_LOW_SURROGATE() macros
by Victor Stinner
· 13 years ago
c366117
Merge heads
by Antoine Pitrou
· 13 years ago
f0effe6
Better resolution for issue #11849: Ensure that free()d memory arenas are really released
by Antoine Pitrou
· 13 years ago
6345be9
Close #13093: PyUnicode_EncodeDecimal() doesn't support error handlers
by Victor Stinner
· 13 years ago
86a36b5
PEP 3155 / issue #13448: Qualified name for classes and functions.
by Antoine Pitrou
· 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
9d3b93b
Use the new Unicode API
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
ce4a9da
Issue #13411: memoryview objects are now hashable when the underlying object is hashable.
by Antoine Pitrou
· 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
53b33e7
UnicodeTranslateError uses the new Unicode API
by Victor Stinner
· 13 years ago
da1ddf3
UnicodeEncodeError uses the new Unicode API
by Victor Stinner
· 13 years ago
4ead7c7
PyObject_Str() ensures that the result string is ready
by Victor Stinner
· 13 years ago
0fc3519
stringlib: remove unused STRINGLIB_FILL
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
f34a0cd
Issue #10227: Add an allocation cache for a single slice object.
by Antoine Pitrou
· 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
9a812cb
Issue #13389: Full garbage collection passes now clear the freelists for
by Antoine Pitrou
· 13 years ago
39aba4f
Use the small object allocator for small bytearrays
by Antoine Pitrou
· 13 years ago
31b92a5
Sanitize reference management in the utf-8 encoder
by Antoine Pitrou
· 13 years ago
e92ff05
Issue #13161: fix doc strings of __i*__ operators. Closes #13161
by Eli Bendersky
· 13 years ago
d3baae7
Issue #13161: fix doc strings of __i*__ operators
by Eli Bendersky
· 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
9589ab1
Revert "Accept None as start and stop parameters for list.index() and tuple.index()"
by Petri Lehtinen
· 13 years ago
ebfaabd
Revert "Accept None as start and stop parameters for list.index() and tuple.index()"
by Petri Lehtinen
· 13 years ago
864741b
Issue #13350: Replace most usages of PyUnicode_Format by PyUnicode_FromFormat.
by Amaury Forgeot d'Arc
· 13 years ago
8e9f6c4
Accept None as start and stop parameters for list.index() and tuple.index().
by Petri Lehtinen
· 13 years ago
c2f0a46
Accept None as start and stop parameters for list.index() and tuple.index()
by Petri Lehtinen
· 13 years ago
878ce38
add introspection to range objects (closes #9896)
by Benjamin Peterson
· 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
b09af03
Port error handlers from Py_UNICODE indexing to code point indexing.
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
2787ea4
Fix a compile error (apparently Windows only) introduced in 295fdfd4f422
by Brian Curtin
· 13 years ago
23e275b
Port UCS1 and charmap codecs to new API.
by Martin v. Löwis
· 13 years ago
9e81668
Introduce PyObject* API for raising encode errors.
by Martin v. Löwis
· 13 years ago
2b50a01
remove unused variable
by Benjamin Peterson
· 13 years ago
e0aa803
Fix the return value of set_discard (issue #10519)
by Petri Lehtinen
· 13 years ago
5acc27e
Avoid unnecessary recursive function calls (closes #10519)
by Petri Lehtinen
· 13 years ago
a94200e
Issue #13018: Fix reference leaks in error paths in dictobject.c.
by Petri Lehtinen
· 13 years ago
de31b19
Issue 1294232: Fix errors in metaclass calculation affecting some cases of metaclass inheritance. Patch by Daniel Urban.
by Nick Coghlan
· 13 years ago
9d9141f
adjust braces a bit
by Benjamin Peterson
· 13 years ago
551ba20
Issue #13188: When called without an explicit traceback argument,
by Antoine Pitrou
· 13 years ago
2963fe0
plug possible refleak (closes #13199)
by Benjamin Peterson
· 13 years ago
0d3072e
Drop Py_UCS4_ functions. Closes #13246.
by Martin v. Löwis
· 13 years ago
1cebc20
merge 3.2
by Benjamin Peterson
· 13 years ago
c34f5c2
Fix the return value of set_discard (issue #10519)
by Petri Lehtinen
· 13 years ago
7c5e34d
Avoid unnecessary recursive function calls (#closes #10519)
by Petri Lehtinen
· 13 years ago
57ffa9d
PyUnicode_AsUnicodeCopy() uses PyUnicode_AsUnicodeAndSize() to get directly the length
by Victor Stinner
· 13 years ago
af9e4b8
Fix PyUnicode_InternImmortal(): PyUnicode_InternInPlace() may changes *p
by Victor Stinner
· 13 years ago
Next »