335 Commits (4860f01ac0f07cdc8fc0cc27c33f5a64e5cfec9f)

Author SHA1 Message Date
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
Barry Warsaw 9e9dcd6d42 STINNER Victor (haypo)'s patch for bug 3988, Byte warning mode and b'' != '' 17 years ago
Christian Heimes 1a8501c648 Merged revisions 66748 via svnmerge from 18 years ago
Benjamin Peterson 4b24a42f3c add NULL checking for PyBytes_FromObject; R=Neal 18 years ago
Benjamin Peterson c15a07333e make bytes(o) respect __bytes__ #2415 18 years ago
Christian Heimes ce694b78fb Fixed yet another compiler warning of 64bit builds. 18 years ago
Neal Norwitz 3ce5d9207e Closes release blocker #3627. 18 years ago
Amaury Forgeot d'Arc 20443f3043 #3650: fix a reference leak in bytes.split('x') 18 years ago
Martin v. Löwis 423be95dcf Merged revisions 65654 via svnmerge from 18 years ago
Marc-André Lemburg 4cc0f24857 Rename PyUnicode_AsString -> _PyUnicode_AsString and 18 years ago
Antoine Pitrou 2f89aa6785 #2538: bytes objects can only provide read-only buffers 18 years ago
Gregory P. Smith b7fea62cca Rename bytesobject.c back to stringobject.c to keep with the PyString theme. 18 years ago
Gregory P. Smith 99a3dce92d More reverting of r63675 per the mailing list discussions. This restores 18 years ago
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread: 18 years ago
Marc-André Lemburg b2750b5d33 Move the codec decode type checks to bytes/bytearray.decode(). 18 years ago
Martin v. Löwis 00709aaa3d Merged revisions 63856-63857,63859-63860 via svnmerge from 18 years ago
Georg Brandl e5d68aceb5 Fix misspelling. 18 years ago
Georg Brandl 7a6de8b0f4 Some style nits. Also clarify in the docstrings what __sizeof__ does. 18 years ago
Robert Schuppenies 51df064767 Issue #2898: Added sys.getsizeof() to retrieve size of objects in bytes. 18 years ago
Eric Smith dc13b79a38 Refactor and clean up str.format() code (and helpers) in advance of optimizations. 18 years ago
Georg Brandl 17cb8a85d4 Fix all return types for str/bytes/bytearray docstrings and make the wording more consistent. 18 years ago
Benjamin Peterson 4116f36967 clean up some docstrings and errors in bytesobject.c 18 years ago
Christian Heimes 2c9c7a5f33 Renamed files bytesobject.[ch] and stringobject.[ch] 18 years ago
Christian Heimes 72b710a596 Renamed PyString to PyBytes 18 years ago
Christian Heimes 9c4756ea26 Renamed PyBytes to PyByteArray 18 years ago
Christian Heimes 44720838eb Renamed bytesobject.c to bytearrayobject.c 18 years ago
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago
Christian Heimes 3497f94476 First step of the C API rename: 18 years ago
Alexandre Vassalotti 1aed624f7c Backport fast alternate io.BytesIO implementation. 18 years ago
Alexandre Vassalotti 14a767d4f4 Made the TypeError message in bytes_iconcat() less confusing. 18 years ago
Alexandre Vassalotti bcdc4685ba Backport manually r62342 from the py3k branch to the trunk. 18 years ago
Alexandre Vassalotti e0313f20c0 Re-indented bytes_getbuffer() and bytes_releasebuffer() to 4-space 18 years ago
Alexandre Vassalotti 8dcdb25d58 Improved bytes_extend() to avoid making a full copy of the temporary 18 years ago
Christian Heimes 33fe8093df Merged revisions 62260-62261,62266,62271,62277-62279,62289-62290,62293-62298,62302-62306,62308,62311,62313-62315,62319-62321 via svnmerge from 18 years ago
Gregory P. Smith 2ea2968064 get rid of assert (size >= 0) now that an explicit if (size < 0) is in the code. 18 years ago
Gregory P. Smith c00eb73a30 Raise SystemError when size < 0 is passed into PyString_FromStringAndSize, 18 years ago
Christian Heimes ba4af493a5 Merged revisions 61964-61979 via svnmerge from 18 years ago
Neal Norwitz 4ebd46a02d Fix memory leaks 18 years ago
Neal Norwitz 0bcd613e9f Fix bytes so it works on 64-bit platforms. 18 years ago
Christian Heimes 1a6387e683 Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,61809,61812,61819,61917,61920,61930,61933-61934 via svnmerge from 18 years ago
Christian Heimes 7b876158dc Fixed #1969: split and rsplit in bytearray are inconsistent 18 years ago
Christian Heimes 90aa7646af #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. 18 years ago