summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [3.6] bpo-29549: Fixes docstring for str.index (GH-256) (GH-1028)Mariatta2017-04-091-3/+10
| | | (cherry picked from commit 43ba8861e0ad044efafa46a7cc04e12ac5df640e)
* remove all usage of Py_LOCALBenjamin Peterson2016-09-091-2/+2
|
* Issue #27474: Unified error messages in the __contains__ method of bytes andSerhiy Storchaka2016-07-101-1/+1
| | | | | bytearray for integers in and out of the Py_ssize_t range. Patch by Xiang Zhang.
* Issue #26765: Fixed parsing Py_ssize_t arguments on 32-bit Windows.Serhiy Storchaka2016-07-031-0/+1
|
* Issue #26765: Moved common code and docstrings for bytes and bytearray methodsSerhiy Storchaka2016-05-041-0/+424
| | | | to bytes_methods.c.
* Issue #25923: Added more const qualifiers to signatures of static and ↵Serhiy Storchaka2015-12-251-3/+3
| | | | private functions.
* Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()Serhiy Storchaka2015-02-031-39/+7
|\ | | | | | | and PyObject_AsWriteBuffer().
| * Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()Serhiy Storchaka2015-02-031-27/+6
| | | | | | | | and PyObject_AsWriteBuffer().
* | #16518: Bring error messages in harmony with docs ("bytes-like object")R David Murray2014-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | Some time ago we changed the docs to consistently use the term 'bytes-like object' in all the contexts where bytes, bytearray, memoryview, etc are used. This patch (by Ezio Melotti) completes that work by changing the error messages that previously reported that certain types did "not support the buffer interface" to instead say that a bytes-like object is required. (The glossary entry for bytes-like object references the discussion of the buffer protocol in the docs.)
* | Issue #20179: Apply Argument Clinic to bytes and bytearray.Martin v. Löwis2014-07-271-4/+2
|/ | | | Patch by Tal Einat.
* Issue #18722: Remove uses of the "register" keyword in C code.Antoine Pitrou2013-08-131-15/+15
|
* Issue #13738: Simplify implementation of bytes.lower() and bytes.upper().Antoine Pitrou2012-01-081-10/+2
|
* Fix closes Issue12385 - Clarify maketrans method docstring for bytes and ↵Senthil Kumaran2011-06-271-4/+4
| | | | bytearray object.
* Fix (harmless) warning with MSVC.Antoine Pitrou2010-08-151-1/+1
|
* Fix indentation and remove dead code.Antoine Pitrou2010-08-151-132/+98
|
* Fix the docstrings of the capitalize method.Senthil Kumaran2010-07-051-1/+2
|
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-157/+157
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........
* Issue #7065: Fix a crash in bytes.maketrans and bytearray.maketrans whenAntoine Pitrou2009-10-141-2/+2
| | | | using byte values greater than 127. Patch by egreen.
* Merged revisions 72040 via svnmerge fromEric Smith2009-04-271-246/+33
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72040 | eric.smith | 2009-04-27 15:04:37 -0400 (Mon, 27 Apr 2009) | 1 line Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors. ........
* Add bytes/bytearray.maketrans() to mirror str.maketrans(), and deprecateGeorg Brandl2009-04-121-0/+67
| | | | string.maketrans() which actually works on bytes. (Also closes #5675.)
* Renamed PyString to PyBytesChristian Heimes2008-05-261-10/+10
|
* For PEP3137: Adds missing methods to the mutable PyBytes object (soonGregory P. Smith2007-10-161-0/+610
to be called a buffer). Shares code with stringobject when possible. Adds unit tests with common code that should be usable to test the PEPs mutable buffer() and immutable bytes() types. http://bugs.python.org/issue1261