summaryrefslogtreecommitdiff
path: root/Objects/bytesobject.c
AgeCommit message (Expand)AuthorLines
2017-12-08bpo-30657: Fix CVE-2017-1000158 (#4758)Miro Hrončok-1/+7
2015-11-25Issue #24731: Fixed crash on converting objects with special methodsSerhiy Storchaka-4/+4
2015-05-30Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),Serhiy Storchaka-7/+13
2015-03-10Issue #23629: Fix the default __sizeof__ implementation for variable-sized ob...Antoine Pitrou-14/+0
2015-02-03Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()Serhiy Storchaka-89/+82
2014-12-02Issue #20335: bytes constructor now raises TypeError when encoding or errorsSerhiy Storchaka-7/+7
2014-09-29merge 3.3Benjamin Peterson-1/+1
2014-09-29these variables ought to be Py_ssize_tBenjamin Peterson-1/+1
2014-09-29merge 3.3 (closes #22519)Benjamin Peterson-12/+16
2014-09-29fix overflow checking in PyBytes_Repr (closes #22519)Benjamin Peterson-12/+16
2014-03-05Make the various iterators' "setstate" sliently and consistently clip theKristján Valur Jónsson-3/+7
2014-03-05Make the various iterators' "setstate" sliently and consistently clip theKristján Valur Jónsson-3/+7
2013-12-13(Merge 3.3) Issue #19969: PyBytes_FromFormatV() now raises an OverflowError ifVictor Stinner-3/+16
2013-12-13Issue #19969: PyBytes_FromFormatV() now raises an OverflowError if "%c"Victor Stinner-3/+16
2013-12-04Silence expression result unused warnings with clang.Christian Heimes-3/+3
2013-11-20ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'.Christian Heimes-1/+1
2013-11-16#17806: Added keyword-argument support for "tabsize" to str/bytes.expandtabs().Ezio Melotti-1/+1
2013-11-04Issue #16286: optimize PyUnicode_RichCompare() for identical strings (sameVictor Stinner-7/+16
2013-11-04Issue #16286: write a new subfunction bytes_compare_eq()Victor Stinner-37/+47
2013-10-29Issue #18408: Fix error handling in PyBytes_FromObject()Victor Stinner-2/+1
2013-10-19Issue #1772673: The type of `char*` arguments now changed to `const char*`.Serhiy Storchaka-1/+1
2013-08-13Issue #18722: Remove uses of the "register" keyword in C code.Antoine Pitrou-22/+22
2013-02-10Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxErrorSerhiy Storchaka-2/+3
2013-02-10Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxErrorSerhiy Storchaka-2/+3
2013-02-10Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxErrorSerhiy Storchaka-2/+3
2013-02-02Issue #17034: Use Py_CLEAR() in bytesobject.c.Serhiy Storchaka-8/+4
2013-02-02Issue #17034: Use Py_CLEAR() in bytesobject.c.Serhiy Storchaka-8/+4
2013-02-02Issue #17034: Use Py_CLEAR() in bytesobject.c.Serhiy Storchaka-8/+4
2013-01-25Issue #16975: Fix error handling bug in the escape-decode bytes decoder.Serhiy Storchaka-0/+4
2013-01-25Issue #16975: Fix error handling bug in the escape-decode bytes decoder.Serhiy Storchaka-0/+4
2013-01-25Issue #16975: Fix error handling bug in the escape-decode bytes decoder.Serhiy Storchaka-0/+4
2012-12-19merge 3.3 (#16722)Benjamin Peterson-5/+28
2012-12-19try to call __bytes__ before __index__ (closes #16722)Benjamin Peterson-5/+28
2012-12-10Fix the internals of our hash functions to used unsigned values during hashGregory P. Smith-1/+1
2012-12-07Issue #16495: remove extraneous NULL encoding check from bytes_decode().Chris Jerdonek-2/+0
2012-10-16Issue #15958: bytes.join and bytearray.join now accept arbitrary buffer objects.Antoine Pitrou-90/+15
2012-10-06Issue #16148: implemented PEP 424Armin Ronacher-1/+1
2012-07-28Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays.Stefan Krah-1/+0
2012-05-24Issue #14889: PyBytes_FromObject(bytes) now just increfs and returns.Larry Hastings-0/+6
2012-04-27Simplify and optimize formatlong()Victor Stinner-143/+0
2012-04-27Check newly created consistency using _PyUnicode_CheckConsistency(str, 1)Victor Stinner-0/+1
2012-04-09merge 3.1 (#14509)Benjamin Peterson-0/+2
2012-04-09fix build without Py_DEBUG and DNDEBUG (closes #14509)Benjamin Peterson-0/+2
2012-04-05Rename _PyIter_GetBuiltin to _PyObject_GetBuiltin, and do not include it in t...Antoine Pitrou-2/+2
2012-04-03Issue #14288: Serialization support for builtin iterators.Kristján Valur Jónsson-0/+34
2012-02-26#14081: The sep and maxsplit parameter to str.split, bytes.split, and bytearr...Ezio Melotti-8/+12
2012-02-21merge 3.2Benjamin Peterson-0/+1
2012-02-21ensure no one tries to hash things before the random seed is foundBenjamin Peterson-0/+1
2012-02-20Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic...Georg Brandl-1/+11
2012-02-20Issue #13703: add a way to randomize the hash values of basic types (str, byt...Georg Brandl-1/+11