Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-28029: Make "".replace("", s, n) returning s for any n != 0. (GH-16981) | Serhiy Storchaka | 2019-10-30 | 1 | -8/+5 |
| | |||||
* | bpo-20180: complete AC conversion of Objects/stringlib/transmogrify.h (GH-8039) | Tal Einat | 2018-07-06 | 1 | -33/+75 |
| | | | | * converted bytes methods: expandtabs, ljust, rjust, center, zfill * updated char_convertor to properly set the C default value | ||||
* | Issue #29145: Merge 3.6. | Xiang Zhang | 2017-01-10 | 1 | -1/+1 |
| | |||||
* | Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly ↵ | Christian Heimes | 2016-09-13 | 1 | -20/+20 |
| | | | | optimize memcpy(). | ||||
* | remove all usage of Py_LOCAL | Benjamin Peterson | 2016-09-09 | 1 | -11/+11 |
| | |||||
* | Backed out changeset b0087e17cd5e (issue #26765) | Serhiy Storchaka | 2016-07-03 | 1 | -54/+0 |
| | | | | For unknown reasons it perhaps caused a crash on 32-bit Windows (issue #). | ||||
* | Issue #26765: Moved wrappers for bytes and bytearray methods to common header | Serhiy Storchaka | 2016-07-01 | 1 | -0/+54 |
| | | | | file. | ||||
* | Issue #26765: Ensure that bytes- and unicode-specific stringlib files are used | Serhiy Storchaka | 2016-05-16 | 1 | -2/+3 |
| | | | | with correct type. | ||||
* | Issue #26765: Moved common code for the replace() method of bytes and bytearray | Serhiy Storchaka | 2016-05-05 | 1 | -57/+521 |
| | | | | to a template file. | ||||
* | Issue #26765: Moved common code and docstrings for bytes and bytearray methods | Serhiy Storchaka | 2016-05-04 | 1 | -30/+0 |
| | | | | to bytes_methods.c. | ||||
* | Removed unintentional trailing spaces in non-external and non-generated C files. | Serhiy Storchaka | 2015-03-18 | 1 | -1/+1 |
| | |||||
* | merge 3.3 | Benjamin Peterson | 2014-03-30 | 1 | -19/+19 |
|\ | |||||
| * | merge 3.2 | Benjamin Peterson | 2014-03-30 | 1 | -19/+19 |
| |\ | |||||
| | * | fix expandtabs overflow detection to be consistent and not rely on signed ↵ | Benjamin Peterson | 2014-03-30 | 1 | -19/+19 |
| | | | | | | | | | | | | overflow | ||||
* | | | #17806: Added keyword-argument support for "tabsize" to str/bytes.expandtabs(). | Ezio Melotti | 2013-11-16 | 1 | -3/+5 |
|/ / | |||||
* | | Remove trailing whitespace. | Ezio Melotti | 2013-04-21 | 1 | -7/+7 |
|/ | |||||
* | Merged revisions 77461 via svnmerge from | Antoine Pitrou | 2010-01-13 | 1 | -91/+0 |
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77461 | antoine.pitrou | 2010-01-13 08:55:48 +0100 (mer., 13 janv. 2010) | 5 lines Issue #7622: Improve the split(), rsplit(), splitlines() and replace() methods of bytes, bytearray and unicode objects by using a common implementation based on stringlib's fast search. Patch by Florent Xicluna. ........ | ||||
* | Issue #4935: The overflow checking code in the expandtabs() method common | Antoine Pitrou | 2009-01-13 | 1 | -37/+30 |
| | | | | | | | to str, bytes and bytearray could be optimized away by the compiler (*), letting the interpreter segfault instead of raising an error. (*) or at least it is our interpretation | ||||
* | Merging the py3k-pep3137 branch back into the py3k branch. | Guido van Rossum | 2007-11-06 | 1 | -7/+7 |
| | | | | | | | | | | | | | | No detailed change log; just check out the change log for the py3k-pep3137 branch. The most obvious changes: - str8 renamed to bytes (PyString at the C level); - bytes renamed to buffer (PyBytes at the C level); - PyString and PyUnicode are no longer compatible. I.e. we now have an immutable bytes type and a mutable bytes type. The behavior of PyString was modified quite a bit, to make it more bytes-like. Some changes are still on the to-do list. | ||||
* | For PEP3137: Adds missing methods to the mutable PyBytes object (soon | Gregory P. Smith | 2007-10-16 | 1 | -0/+362 |
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 |