217 Commits (2c5a830f2ac654e643eaa29ef60bd51977700376)

Author SHA1 Message Date
Serhiy Storchaka 998c9cdd42 Issue #28561: Clean up UTF-8 encoder: remove dead code, update comments, etc. 9 years ago
Christian Heimes f051e43b22 Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize memcpy(). 9 years ago
Benjamin Peterson 621b430a14 remove all usage of Py_LOCAL 9 years ago
Victor Stinner 1a05d6c04d PEP 7 style for if/else in C 9 years ago
Raymond Hettinger 15f44ab043 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 9 years ago
Serhiy Storchaka e09132f2c7 Backed out changeset b0087e17cd5e (issue #26765) 10 years ago
Serhiy Storchaka 355048970b Issue #26765: Moved wrappers for bytes and bytearray methods to common header 10 years ago
Serhiy Storchaka bcde10aa7e Issue #26765: Ensure that bytes- and unicode-specific stringlib files are used 10 years ago
Serhiy Storchaka fb81d3cbe7 Issue #26765: Moved common code for the replace() method of bytes and bytearray 10 years ago
Serhiy Storchaka dd40fc3e57 Issue #26765: Moved common code and docstrings for bytes and bytearray methods 10 years ago
Serhiy Storchaka 6a7b3a77b4 Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 10 years ago
Serhiy Storchaka 21a663ea28 Issue #26057: Got rid of nonneeded use of PyUnicode_FromObject(). 10 years ago
Serhiy Storchaka 413fdcea21 Issue #24821: Refactor STRINGLIB(fastsearch_memchr_1char) and split it on 10 years ago
Victor Stinner 6bd525b656 Optimize error handlers of ASCII and Latin1 encoders when the replacement 10 years ago
Victor Stinner ce179bf6ba Add _PyBytesWriter_WriteBytes() to factorize the code 10 years ago
Victor Stinner ad7715891e _PyBytesWriter: simplify code to avoid "prealloc" parameters 10 years ago
Victor Stinner e7bf86cd7d Optimize backslashreplace error handler 10 years ago
Victor Stinner fdfbf78114 Issue #25318: Add _PyBytesWriter API 10 years ago
Victor Stinner 01ada3996b Issue #25267: The UTF-8 encoder is now up to 75 times as fast for error 10 years ago
Eric V. Smith ab2aa6dc91 Fixed an incorrect comment. 11 years ago
Serhiy Storchaka 7e29eea926 Fixed typos in comments. 11 years ago
Serhiy Storchaka 0d4df752ac Issue #15027: The UTF-32 encoder is now 3x to 7x faster. 11 years ago
Serhiy Storchaka d9d769fcdd Issue #23573: Increased performance of string search operations (str.find, 11 years ago
Serhiy Storchaka 009b811d67 Removed unintentional trailing spaces in non-external and non-generated C files. 11 years ago
Serhiy Storchaka 4fdb68491e Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() 11 years ago
Serhiy Storchaka b757c83ec6 Issue #22581: Use more "bytes-like object" throughout the docs and comments. 11 years ago
Benjamin Peterson 1cc9520327 s/stringobject/bytesobject/ (closes #22036) 12 years ago
Benjamin Peterson 23cf403ca1 fix expandtabs overflow detection to be consistent and not rely on signed overflow 12 years ago
Serhiy Storchaka 3079328d29 Reverted changeset b72c5573c5e7 (issue #15027). 12 years ago
Serhiy Storchaka 583a93943c Issue #15027: Rewrite the UTF-32 encoder. It is now 1.6x to 3.5x faster. 12 years ago
Benjamin Peterson 0ee22bf774 fix format spec recursive expansion (closes #19729) 12 years ago
Serhiy Storchaka dc2fd5101a Remove dead code committed in issue #12892. 12 years ago
Serhiy Storchaka 58cf607d13 Issue #12892: The utf-16* and utf-32* codecs now reject (lone) surrogates. 12 years ago
Ezio Melotti 745d54d2fa #17806: Added keyword-argument support for "tabsize" to str/bytes.expandtabs(). 12 years ago
Victor Stinner cc64eb5b9f Issue #18408: Fix bytearrayiter.partition()/rpartition(), handle 12 years ago
Serhiy Storchaka 8fa8ee3970 Issue #18701: Remove support of old CPython versions (<3.0) from C code. 13 years ago
Raymond Hettinger b1b915c796 Issue 18719: Remove a false optimization 13 years ago
Antoine Pitrou 9ed5f27266 Issue #18722: Remove uses of the "register" keyword in C code. 13 years ago
Benjamin Peterson d2b58a9880 only recursively expand in the format spec (closes #17644) 13 years ago
Benjamin Peterson 4d94474ba3 rewrite the parsing of field names to be more consistent wrt recursive expansion 13 years ago
Ezio Melotti 6b02772c13 Remove trailing whitespace. 13 years ago
Victor Stinner 8f674ccd64 Close #17694: Add minimum length to _PyUnicodeWriter 13 years ago
Victor Stinner 76b3b2726c stringlib: remove unused STRINGLIB_RESIZE macro 13 years ago
Serhiy Storchaka e2cef885a2 Issue #16061: Speed up str.replace() for replacing 1-character strings. 13 years ago
Victor Stinner 7efa3b8242 Close #13126: "Simplify" FASTSEARCH() code to help the compiler to emit more 13 years ago
Victor Stinner cfc4c13b04 Add _PyUnicodeWriter_WriteSubstring() function 13 years ago
Serhiy Storchaka 18809fa94e Remove unused defines. 13 years ago
Antoine Pitrou 4de7457009 Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) in the interpreter. 13 years ago
Serhiy Storchaka 18ba40b945 Check for NULL before the pointer aligning in fastsearch_memchr_1char. 13 years ago
Christian Heimes 5f7e8dab11 Issue #16592: stringlib_bytes_join doesn't raise MemoryError on allocation failure 13 years ago