summaryrefslogtreecommitdiff
path: root/Objects/bytes_methods.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merged revisions 84070,84074 via svnmerge fromAntoine Pitrou2010-08-151-1/+1
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84070 | antoine.pitrou | 2010-08-15 19:12:55 +0200 (dim., 15 août 2010) | 5 lines Fix some compilation warnings under 64-bit Windows (issue #9566). Some of these are genuine bugs with objects bigger than 2GB, but my system doesn't allow me to write tests for it. ........ r84074 | antoine.pitrou | 2010-08-15 19:41:31 +0200 (dim., 15 août 2010) | 3 lines Fix (harmless) warning with MSVC. ........
* Merged revisions 84072 via svnmerge fromAntoine Pitrou2010-08-151-132/+98
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84072 | antoine.pitrou | 2010-08-15 19:38:46 +0200 (dim., 15 août 2010) | 3 lines Fix indentation and remove dead code. ........
* Merged revisions 82573 via svnmerge fromSenthil Kumaran2010-07-051-1/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82573 | senthil.kumaran | 2010-07-05 17:30:56 +0530 (Mon, 05 Jul 2010) | 3 lines Fix the docstrings of the capitalize method. ........
* Recorded merge of revisions 81032 via svnmerge fromAntoine Pitrou2010-05-091-157/+157
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81032 | antoine.pitrou | 2010-05-09 17:52:27 +0200 (dim., 09 mai 2010) | 9 lines Recorded merge of revisions 81029 via svnmerge from 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. ........ ................
* Merged revisions 75404 via svnmerge fromAntoine Pitrou2009-10-141-2/+2
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r75404 | antoine.pitrou | 2009-10-14 19:14:16 +0200 (mer., 14 oct. 2009) | 5 lines Issue #7065: Fix a crash in bytes.maketrans and bytearray.maketrans when 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