Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
c667b094ae37799a7e42ba5cd2ad501cc7920888
/
Objects
/
bytesobject.c
b509d52
bpo-35059: PyObject_INIT() casts to PyObject* (GH-10674)
by Victor Stinner
· 6 years ago
bcda8f1
bpo-35081: Add Include/internal/pycore_object.h (GH-10640)
by Victor Stinner
· 6 years ago
621cebe
bpo-35081: Rename internal headers (GH-10275)
by Victor Stinner
· 6 years ago
27e2d1f
bpo-35081: Add pycore_ prefix to internal header files (GH-10263)
by Victor Stinner
· 6 years ago
49c75a8
bpo-35064 prefix smelly symbols that appear with COUNT_ALLOCS with _Py_ (GH-10152)
by Pablo Galindo
· 6 years ago
b4435e2
bpo-35059: Convert PyObject_INIT() to function (GH-10077)
by Victor Stinner
· 6 years ago
2c2044e
bpo-34984: Improve error messages for bytes and bytearray constructors. (GH-9874)
by Serhiy Storchaka
· 6 years ago
914f9a0
bpo-34973: Fix crash in bytes constructor. (GH-9841)
by Serhiy Storchaka
· 6 years ago
e890421
bpo-34974: Do not replace unexpected errors in bytes() and bytearray(). (GH-9852)
by Serhiy Storchaka
· 6 years ago
96c5932
bpo-34879: Fix a possible null pointer dereference in bytesobject.c (GH-9683)
by Zackery Spytz
· 6 years ago
ccd9975
bpo-34436: Fix check that disables overallocation for the last fmt specifier (GH-8826)
by Alexey Izbyshev
· 6 years ago
53b7d4e
bpo-34170: Add _PyCoreConfig.bytes_warning (GH-8447)
by Victor Stinner
· 6 years ago
c929df3
bpo-20180: complete AC conversion of Objects/stringlib/transmogrify.h (GH-8039)
by Tal Einat
· 6 years ago
55edd0c
bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030)
by Siddhesh Poyarekar
· 7 years ago
a49ac99
bpo-32677: Add .isascii() to str, bytes and bytearray (GH-5342)
by INADA Naoki
· 7 years ago
e8b1965
bpo-23699: Use a macro to reduce boilerplate code in rich comparison functions (GH-793)
by stratakis
· 7 years ago
a231428
bpo-20047: Make bytearray methods partition() and rpartition() rejecting (#4158)
by Serhiy Storchaka
· 7 years ago
56cb465
bpo-31825: Fixed OverflowError in the 'unicode-escape' codec (#4058)
by Serhiy Storchaka
· 7 years ago
b2e5794
bpo-31338 (#3374)
by Barry Warsaw
· 7 years ago
2ebc5ce
bpo-30860: Consolidate stateful runtime globals. (#3397)
by Eric Snow
· 7 years ago
b879fe8
Expand the PySlice_GetIndicesEx macro. (#1023)
by Serhiy Storchaka
· 8 years ago
6b5a9ec
bpo-29116: Fix error messages for concatenating bytes and bytearray with unsupported type. (#709)
by Serhiy Storchaka
· 8 years ago
7e2a54c
bpo-28856: Let %b format for bytes support objects that follow the buffer protocol (GH-546)
by Xiang Zhang
· 8 years ago
202fda5
bpo-24037: Add Argument Clinic converter `bool(accept={int})`. (#485)
by Serhiy Storchaka
· 8 years ago
9f8ad3f
bpo-29568: Disable any characters between two percents for escaped percent "%%" in the format string for classic string formatting. (GH-513)
by Serhiy Storchaka
· 8 years ago
b76ad51
bpo-29714: Fix a regression that bytes format may fail when containing zero bytes inside. (GH-499)
by Xiang Zhang
· 8 years ago
7ed28a8
Merge 3.6
by INADA Naoki
· 8 years ago
a634e23
Issue #29159: Fix regression in bytes(x) when x.__index__() raises Exception.
by INADA Naoki
· 8 years ago
dd1da7f
Issue #28927: bytes.fromhex() and bytearray.fromhex() now ignore all ASCII
by Serhiy Storchaka
· 8 years ago
9d16b61
Issue #29000: Fixed bytes formatting of octals with zero padding in alternate
by Serhiy Storchaka
· 8 years ago
025f895
Issue #29000: Fixed bytes formatting of octals with zero padding in alternate
by Serhiy Storchaka
· 8 years ago
b1a1619
Issue #29000: Fixed bytes formatting of octals with zero padding in alternate
by Serhiy Storchaka
· 8 years ago
f17c3de
Use _PyObject_CallNoArg()
by Victor Stinner
· 8 years ago
de4ae3d
Backed out changeset b9c9691c72c5
by Victor Stinner
· 8 years ago
27580c1
Replace PyObject_CallFunctionObjArgs() with fastcall
by Victor Stinner
· 8 years ago
460bd0d
Issue #19569: Compiler warnings are now emitted if use most of deprecated
by Serhiy Storchaka
· 8 years ago
5646648
Issue 28128: Print out better error/warning messages for invalid string escapes. Backport to 3.6.
by Eric V. Smith
· 8 years ago
42454af
Issue 28128: Print out better error/warning messages for invalid string escapes.
by Eric V. Smith
· 8 years ago
7b4bcd2
Issue #25270: Merge from 3.5
by Berker Peksag
· 8 years ago
4a72a7b
Issue #25270: Prevent codecs.escape_encode() from raising SystemError when an empty bytestring is passed
by Berker Peksag
· 8 years ago
f051e43
Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize memcpy().
by Christian Heimes
· 8 years ago
621b430
remove all usage of Py_LOCAL
by Benjamin Peterson
· 8 years ago
110b6fe
#27364: Deprecate invalid escape strings in str/byutes.
by R David Murray
· 8 years ago
15f44ab
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
by Raymond Hettinger
· 8 years ago
1b6c6da
Issue #27506: Support bytes/bytearray.translate() delete as keyword argument
by Martin Panter
· 8 years ago
eb24988
Issue #27704: Optimized creating bytes and bytearray from byte-like objects
by Serhiy Storchaka
· 8 years ago
ca0da9b
Issue #27473: Fixed possible integer overflow in bytes and bytearray
by Serhiy Storchaka
· 8 years ago
06cfb0c
Issue #27473: Fixed possible integer overflow in bytes and bytearray
by Serhiy Storchaka
· 8 years ago
f54d781
Issue #27460: Unified error messages in bytes constructor for integers
by Serhiy Storchaka
· 8 years ago
e09132f
Backed out changeset b0087e17cd5e (issue #26765)
by Serhiy Storchaka
· 8 years ago
3550489
Issue #26765: Moved wrappers for bytes and bytearray methods to common header
by Serhiy Storchaka
· 8 years ago
0855e70
Issue #27007: The fromhex() class methods of bytes and bytearray subclasses
by Serhiy Storchaka
· 8 years ago
e514093
Issue #27125: Merge typo fixes from 3.5
by Martin Panter
· 8 years ago
a90a4a9
Issue #27125: Remove duplicated words from documentation and comments
by Martin Panter
· 8 years ago
fb81d3c
Issue #26765: Moved common code for the replace() method of bytes and bytearray
by Serhiy Storchaka
· 9 years ago
dd40fc3
Issue #26765: Moved common code and docstrings for bytes and bytearray methods
by Serhiy Storchaka
· 9 years ago
7a9579c
Got rid of redundand "self" parameter declarations.
by Serhiy Storchaka
· 9 years ago
71dc3d8
Issue #25349, #26249: Fix memleak in formatfloat()
by Victor Stinner
· 9 years ago
e914d41
Issue #26766: Fix _PyBytesWriter_Finish()
by Victor Stinner
· 9 years ago
c9a59e6
Issue #26764: Fixed SystemError in bytes.__rmod__.
by Serhiy Storchaka
· 9 years ago
f01e408
Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
by Serhiy Storchaka
· 9 years ago
57a01d3
Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
by Serhiy Storchaka
· 9 years ago
03f17f8
Issue #17339: Improved TypeError message in bytes constructor.
by Serhiy Storchaka
· 9 years ago
ec39756
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
by Serhiy Storchaka
· 9 years ago
4884271
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
by Serhiy Storchaka
· 9 years ago
ab479c4
Issue #26494: Fixed crash on iterating exhausting iterators.
by Serhiy Storchaka
· 9 years ago
fbb1c5e
Issue #26494: Fixed crash on iterating exhausting iterators.
by Serhiy Storchaka
· 9 years ago
fac3956
Optimize bytes.replace(b'', b'.')
by Victor Stinner
· 9 years ago
ef1585e
Issue #25923: Added more const qualifiers to signatures of static and private functions.
by Serhiy Storchaka
· 9 years ago
f006940
Issue #20440: Massive replacing unsafe attribute setting code with special
by Serhiy Storchaka
· 9 years ago
5a57ade
Issue #20440: Massive replacing unsafe attribute setting code with special
by Serhiy Storchaka
· 9 years ago
3182db3
Issue #25766: Special method __bytes__() now works in str subclasses.
by Serhiy Storchaka
· 9 years ago
5aac3ed
Issue #25766: Special method __bytes__() now works in str subclasses.
by Serhiy Storchaka
· 9 years ago
bb6e4a0
Issue #24731: Fixed crash on converting objects with special methods
by Serhiy Storchaka
· 9 years ago
f9afda5
Issue #24731: Fixed crash on converting objects with special methods
by Serhiy Storchaka
· 9 years ago
1509580
Issue #24731: Fixed crash on converting objects with special methods
by Serhiy Storchaka
· 9 years ago
413fdce
Issue #24821: Refactor STRINGLIB(fastsearch_memchr_1char) and split it on
by Serhiy Storchaka
· 9 years ago
c3d2bc1
Use _PyBytesWriter in _PyBytes_FromIterator()
by Victor Stinner
· 9 years ago
c5c3ba4
Add _PyBytesWriter_Resize() function
by Victor Stinner
· 9 years ago
3c50ce3
Factorize _PyBytes_FromList() and _PyBytes_FromTuple() code using a C macro
by Victor Stinner
· 9 years ago
f2eafa3
Split PyBytes_FromObject() into subfunctions
by Victor Stinner
· 9 years ago
2ec8063
Modify _PyBytes_DecodeEscapeRecode() to use _PyBytesAPI
by Victor Stinner
· 9 years ago
f6358a7
_PyBytesWriter_Alloc(): only use 10 bytes of the small buffer in debug mode to
by Victor Stinner
· 9 years ago
2bf8993
Optimize bytes.fromhex() and bytearray.fromhex()
by Victor Stinner
· 9 years ago
772b2b0
Optimize bytearray % args
by Victor Stinner
· 9 years ago
661aacc
Add use_bytearray attribute to _PyBytesWriter
by Victor Stinner
· 9 years ago
03dab78
Rewrite PyBytes_FromFormatV() using _PyBytesWriter API
by Victor Stinner
· 9 years ago
e9aa595
Fix compilation error in _PyBytesWriter_WriteBytes() on Windows
by Victor Stinner
· 9 years ago
6c2cdae
Writer APIs: use empty string singletons
by Victor Stinner
· 9 years ago
c29e29b
Relax _PyBytesWriter API
by Victor Stinner
· 9 years ago
0cdad1e
Issue #25349: Add fast path for b'%c' % int
by Victor Stinner
· 9 years ago
be75b8c
Issue #25349: Optimize bytes % int
by Victor Stinner
· 9 years ago
ce179bf
Add _PyBytesWriter_WriteBytes() to factorize the code
by Victor Stinner
· 9 years ago
ad77158
_PyBytesWriter: simplify code to avoid "prealloc" parameters
by Victor Stinner
· 9 years ago
53926a1
_PyBytesWriter: rename size attribute to min_size
by Victor Stinner
· 9 years ago
fa7762e
Issue #25349: Optimize bytes % args using the new private _PyBytesWriter API
by Victor Stinner
· 9 years ago
b3653a3
Issue #25318: cleanup code _PyBytesWriter
by Victor Stinner
· 9 years ago
b13b97d
Issue #25318: Fix compilation error
by Victor Stinner
· 9 years ago
0016507
Issue #25318: Move _PyBytesWriter to bytesobject.c
by Victor Stinner
· 9 years ago
d92d4ef
Issue #23573: Restored optimization of bytes.rfind() and bytearray.rfind()
by Serhiy Storchaka
· 9 years ago
Next »