summaryrefslogtreecommitdiff
path: root/Objects/bytesobject.c
AgeCommit message (Expand)AuthorLines
2014-09-29these variables ought to be Py_ssize_tBenjamin Peterson-1/+1
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
2013-12-13Issue #19969: PyBytes_FromFormatV() now raises an OverflowError if "%c"Victor Stinner-3/+16
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-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-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-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
2012-01-22merge with 3.2Georg Brandl-1/+1
2012-01-22Fix #13834: strip() strips leading and trailing whitespace.Georg Brandl-1/+1
2012-01-14Consolidate the occurrances of the prime used as the multiplier when hashingGregory P. Smith-1/+1
2011-12-17Issue #11231: Fix bytes and bytearray docstringsVictor Stinner-3/+4
2011-12-17Issue #11231: Fix bytes and bytearray docstringsVictor Stinner-3/+4
2011-11-21Issue #13411: memoryview objects are now hashable when the underlying object ...Antoine Pitrou-16/+5
2011-11-21Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH()Victor Stinner-1/+1
2011-10-20Issue #12170: The count(), find(), rfind(), index() and rindex() methodsAntoine Pitrou-18/+44
2011-10-14Issue #13088: Add shared Py_hexdigits constant to format a number into base 16Victor Stinner-3/+2
2011-09-29Fix hex_digit_to_int() prototype: expect Py_UCS4, not Py_UNICODEVictor Stinner-2/+2
2011-09-28Implement PEP 393.Martin v. Löwis-63/+62
2011-09-24Issue #1621: Fix undefined behaviour in bytes.__hash__, str.__hash__, tuple._...Mark Dickinson-4/+4
2011-09-24Issue #13012: Allow 'keepends' to be passed as a keyword argument in str.spli...Mark Dickinson-3/+5
2011-07-27merge from 3.2 - Fix closes Issue12621 - Fix docstrings of find and rfind met...Senthil Kumaran-2/+2
2011-07-27Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/byt...Senthil Kumaran-2/+2
2011-04-26#6780: merge with 3.2.Ezio Melotti-2/+10
2011-04-26#6780: merge with 3.1.Ezio Melotti-2/+10
2011-04-26#6780: fix starts/endswith error message to mention that tuples are accepted ...Ezio Melotti-2/+10
2011-04-20MERGE: startswith and endswith don't accept None as slice index. Patch by Tor...Jesus Cea-18/+5
2011-04-20MERGE: startswith and endswith don't accept None as slice index. Patch by Tor...Jesus Cea-18/+5
2011-04-20startswith and endswith don't accept None as slice index. Patch by Torsten Be...Jesus Cea-18/+5
2011-03-24Issue #11634: Remove misleading paragraph from a commentEli Bendersky-6/+2
2011-03-15#11515: Merge with 3.1.Ezio Melotti-1/+1
2011-03-15#11515: fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti-1/+1
2010-12-12remove (un)transform methodsBenjamin Peterson-64/+0