141 Commits (103f17ef918188ea2f50b01bb616953082d5f4e2)

Author SHA1 Message Date
Benjamin Peterson f6622c8a3e fix build without Py_DEBUG and DNDEBUG (closes #14509) 14 years ago
Benjamin Peterson 69e9727657 ensure no one tries to hash things before the random seed is found 14 years ago
Georg Brandl 2daf6ae249 Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 14 years ago
Georg Brandl beca27a394 Fix #13834: strip() strips leading and trailing whitespace. 14 years ago
Gregory P. Smith 63e6c3222f Consolidate the occurrances of the prime used as the multiplier when hashing 14 years ago
Victor Stinner bb2e9c477d Issue #11231: Fix bytes and bytearray docstrings 14 years ago
Senthil Kumaran 53516a82df Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject. 15 years ago
Ezio Melotti ba42fd5801 #6780: fix starts/endswith error message to mention that tuples are accepted too. 15 years ago
Jesus Cea ac4515063c startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828) 15 years ago
Ezio Melotti 42da663e6f #11515: fix several typos. Patch by Piotr Kasprzyk. 15 years ago
Benjamin Peterson 28a4dce6a8 remove (un)transform methods 15 years ago
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 15 years ago
Georg Brandl 02524629f3 #7475: add (un)transform method to bytes/bytearray and str, add back codecs that can be used with them from Python 2. 15 years ago
Victor Stinner c911bbfd5d str, bytes, bytearray docstring: remove unnecessary [...] 15 years ago
Victor Stinner e14e212221 Fix encode/decode method doc of str, bytes, bytearray types 15 years ago
David Malcolm 9696088b6d Issue #10288: The deprecated family of "char"-handling macros 15 years ago
Benjamin Peterson 8f67d0893f make hashes always the size of pointers; introduce Py_hash_t #9778 15 years ago
Senthil Kumaran f77342076e Merged revisions 84629 via svnmerge from 16 years ago
Senthil Kumaran 9a9dd1c140 Revert the doc change done in r83880. str.replace with negative count value is not a feature. 16 years ago
Antoine Pitrou bc760d9f45 Merged revisions 84070,84074 via svnmerge from 16 years ago
Antoine Pitrou 0010d37a43 Fix some compilation warnings under 64-bit Windows (issue #9566). 16 years ago
Alexander Belopolsky f0f45142d5 Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99 16 years ago
Mark Dickinson cf940c701f Issue #9530: Fix undefined-behaviour-inducing overflow checks in bytes and bytearray implementations. 16 years ago
Senthil Kumaran c3ce882c75 Merged revisions 83882 via svnmerge from 16 years ago
Senthil Kumaran f2de1ffc88 spelling mistake. 16 years ago
Senthil Kumaran a3aee53776 Merged revisions 83880 via svnmerge from 16 years ago
Senthil Kumaran 77210b4fa9 Fix Issue5416 - explain negative value for count in bytes object replace. 16 years ago
Antoine Pitrou a57aae7d47 Merged revisions 81862 via svnmerge from 16 years ago
Antoine Pitrou d118856049 Merged revisions 81860 via svnmerge from 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Benjamin Peterson 0ff8a505c6 Merged revisions 80125,80128,80130 via svnmerge from 16 years ago
Benjamin Peterson 8380dd5aa4 Merged revisions 80126 via svnmerge from 16 years ago
Ezio Melotti 4c81fbb118 Merged revisions 77745 via svnmerge from 16 years ago
Ezio Melotti 5b2b242f07 Merged revisions 77743 via svnmerge from 16 years ago
Antoine Pitrou f2c5484f9e Merged revisions 77461 via svnmerge from 16 years ago
Alexandre Vassalotti 41f58a70ac Issue #7382: Fix bytes.__getnewargs__. 16 years ago
Alexandre Vassalotti a5c565a534 Issue #6688: Optimize PyBytes_FromObject(). 16 years ago
Alexandre Vassalotti eb6f8de8bf Issue #6687: Moved the special-case for integers out of PyBytes_FromObject. 16 years ago
Eric Smith 0f78bff646 Issue #5748: bytesobject.c should not have its own private defines for stringlib macros. Also removed unused defines and include for localutil.h. 16 years ago
Benjamin Peterson 308d637c94 Merged revisions 74929 via svnmerge from 17 years ago
Benjamin Peterson 80688efd6c rename internal methods of the bytes object to bytes_ 17 years ago
Eric Smith 0923d1d8d7 The other half of Issue #1580: use short float repr where possible. 17 years ago
Georg Brandl abc387747d Add bytes/bytearray.maketrans() to mirror str.maketrans(), and deprecate 17 years ago
Eric Smith a3b1ac8dca Added ',' thousands grouping to int.__format__. See PEP 378. 17 years ago
Alexandre Vassalotti e2641f45b6 Optimize slicing of bytes and bytearray by avoiding useless copying. 17 years ago
Mark Dickinson e94c679df0 Issue #1717: rename tp_compare to tp_reserved. I'll change the 17 years ago
Benjamin Peterson a4a37fefb6 Merged revisions 68381 via svnmerge from 17 years ago
Georg Brandl 09923f3b45 Remove confusing error message in bytes.translate. 17 years ago
Mark Dickinson fd24b323f9 Issue #4445: save 3 bytes of memory (on average) per bytes allocation. 17 years ago