History log of /external/python/cpython2/Objects/bytearrayobject.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
440bbd0e388ee516bf93be0f96ea7de7fafc4f32 08-Sep-2016 Martin Panter <vadmium+py@gmail.com> Correct occurance → occurrence; extracted from patch by Georg Brandl
/external/python/cpython2/Objects/bytearrayobject.c
0c08fe09f9b3afdff8bed06f3839126c1c3e7daa 18-Jul-2016 Martin Panter <vadmium+py@gmail.com> Issue #27507: Check for integer overflow in bytearray.extend()

Patch by Xiang Zhang.
/external/python/cpython2/Objects/bytearrayobject.c
373773d5b2790a65ad99a0b855709245544afc30 12-Jul-2016 Serhiy Storchaka <storchaka@gmail.com> Issue #27473: Fixed possible integer overflow in str, unicode and bytearray
concatenations and repetitions. Based on patch by Xiang Zhang.
/external/python/cpython2/Objects/bytearrayobject.c
c742dff16a8dd6979a7857948f63f99f391bb369 16-May-2016 Serhiy Storchaka <storchaka@gmail.com> Issue #27039: Fixed bytearray.remove() for values greater than 127.
Patch by Joe Jevnik.
/external/python/cpython2/Objects/bytearrayobject.c
9a118f1dc3f23ead28f31fdc5144ad5ce01e5b7f 17-Apr-2016 Serhiy Storchaka <storchaka@gmail.com> Issue #26778: Fixed "a/an/and" typos in code comment and documentation.
/external/python/cpython2/Objects/bytearrayobject.c
14a7d6389fb453cca18d61bbe39deff7062bc66f 30-Mar-2016 Serhiy Storchaka <storchaka@gmail.com> Issue #26494: Fixed crash on iterating exhausting iterators.
Affected classes are generic sequence iterators, iterators of bytearray,
list, tuple, set, frozenset, dict, OrderedDict and corresponding views.
/external/python/cpython2/Objects/bytearrayobject.c
c06a6d0958e2eb4449605069b9c10d656ab756e8 19-Dec-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
This allows sys.getsize() to work correctly with their subclasses with
__slots__ defined.
/external/python/cpython2/Objects/bytearrayobject.c
ab766350b665ff2cafb92191a7cd720a1ebf6fe7 29-Jun-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #24467: Fixed possible buffer over-read in bytearray. The bytearray
object now always allocates place for trailing null byte and it's buffer now
is always null-terminated.
/external/python/cpython2/Objects/bytearrayobject.c
c7797dc7482035ee166ca2e941b623382b92e1fc 31-May-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #19543: Emit deprecation warning for known non-text encodings.

Backported issues #19619: encode() and decode() methods and constructors
of str, unicode and bytearray classes now emit deprecation warning for known
non-text encodings when Python is ran with the -3 option.

Backported issues #20404: io.TextIOWrapper (and hence io.open()) now uses the
internal codec marking system added to emit deprecation warning for known non-text
encodings at stream construction time when Python is ran with the -3 option.
/external/python/cpython2/Objects/bytearrayobject.c
5127ed727c014e320f3f449f47d31724679f9529 30-May-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains()
to check for and handle errors correctly.
/external/python/cpython2/Objects/bytearrayobject.c
be580f2e481f5f129a1e47e436dd7ae54b9f50bd 25-Apr-2014 Kristján Valur Jónsson <sweskman@gmail.com> Issue #20434 Correct error handlin of _PyString_Resize and _PyBytes_Resize
/external/python/cpython2/Objects/bytearrayobject.c
146a5fead24f3c2576f90942026b413189647861 03-Nov-2012 Christian Heimes <christian@cheimes.de> Fix compilation on Windows
/external/python/cpython2/Objects/bytearrayobject.c
67dc4a87fccb7ec52323ba26d536654698ae8cba 03-Nov-2012 Ezio Melotti <ezio.melotti@gmail.com> #8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an error.
/external/python/cpython2/Objects/bytearrayobject.c
aad5b02e621a64560af56937523e0072701e8c86 02-Jun-2012 Raymond Hettinger <python@rcn.com> Improve tooltips for splitlines() by showing that the default for keepends is False.
/external/python/cpython2/Objects/bytearrayobject.c
fe9417726c8d2a15ae11f553ae521c3ba6dfc6b7 01-Apr-2012 Antoine Pitrou <solipsis@pitrou.net> Issue #13019: Fix potential reference leaks in bytearray.extend().
Patch by Suman Saha.
/external/python/cpython2/Objects/bytearrayobject.c
5e3a19d80666b0dddef8f8a042ea1988910b61b3 27-Jul-2011 Senthil Kumaran <senthil@uthcode.com> merge from 3.2 - Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject.
/external/python/cpython2/Objects/bytearrayobject.c
44e81687a22b5890e9fddc80de6afaeb1757aa6d 20-Apr-2011 Jesus Cea <jcea@jcea.es> startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828)
/external/python/cpython2/Objects/bytearrayobject.c
24b07bcba350bb86c4d6ca446e1564647a199868 15-Mar-2011 Ezio Melotti <ezio.melotti@gmail.com> #11515: fix several typos. Patch by Piotr Kasprzyk.
/external/python/cpython2/Objects/bytearrayobject.c
680e6eb54f01610f44843ed3f0a1ea8dd69b9603 04-Mar-2011 Eli Bendersky <eliben@gmail.com> Merged revisions 88735 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r88735 | eli.bendersky | 2011-03-04 06:55:25 +0200 (Fri, 04 Mar 2011) | 2 lines

Issue #11386: Fixed the exception thrown by bytearray.pop() for empty bytearrays
........
/external/python/cpython2/Objects/bytearrayobject.c
28dadd988b25064cc73a2d8bba2809aa613fa545 25-Feb-2011 Georg Brandl <georg@python.org> Merged revisions 87050,87101,87146,87156,87172,87175,87371,87378,87522-87524,87526,87530-87535 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r87050 | georg.brandl | 2010-12-04 18:09:30 +0100 (Sa, 04 Dez 2010) | 1 line

Fix typo.
........
r87101 | georg.brandl | 2010-12-06 23:02:48 +0100 (Mo, 06 Dez 2010) | 1 line

Remove visible XXX comments.
........
r87146 | georg.brandl | 2010-12-09 19:08:43 +0100 (Do, 09 Dez 2010) | 1 line

Fix "seperate".
........
r87156 | georg.brandl | 2010-12-10 11:01:44 +0100 (Fr, 10 Dez 2010) | 1 line

#10668: fix wrong call of __init__.
........
r87172 | georg.brandl | 2010-12-11 20:10:30 +0100 (Sa, 11 Dez 2010) | 1 line

Avoid AttributeError(_closed) when a TemporaryDirectory is deallocated whose mkdtemp call failed.
........
r87175 | georg.brandl | 2010-12-11 23:19:34 +0100 (Sa, 11 Dez 2010) | 1 line

Fix markup.
........
r87371 | georg.brandl | 2010-12-18 17:21:58 +0100 (Sa, 18 Dez 2010) | 1 line

Fix typo.
........
r87378 | georg.brandl | 2010-12-18 18:51:28 +0100 (Sa, 18 Dez 2010) | 1 line

#10723: add missing builtin exceptions.
........
r87522 | georg.brandl | 2010-12-28 10:16:12 +0100 (Di, 28 Dez 2010) | 1 line

Replace sys.maxint mention by sys.maxsize.
........
r87523 | georg.brandl | 2010-12-28 10:18:24 +0100 (Di, 28 Dez 2010) | 1 line

Remove confusing paragraph -- this is relevant only to advanced users anyway and does not belong into the tutorial.
........
r87524 | georg.brandl | 2010-12-28 10:29:19 +0100 (Di, 28 Dez 2010) | 1 line

Fix advice: call PyType_Ready to fill in ob_type of custom types.
........
r87526 | georg.brandl | 2010-12-28 11:38:33 +0100 (Di, 28 Dez 2010) | 1 line

#10777: fix iteration over dict keys while mutating the dict.
........
r87530 | georg.brandl | 2010-12-28 12:06:07 +0100 (Di, 28 Dez 2010) | 1 line

#10767: update README in crashers; not all may have a bug entry and/or be fixed.
........
r87531 | georg.brandl | 2010-12-28 12:08:17 +0100 (Di, 28 Dez 2010) | 1 line

#10742: document readonly attribute of memoryviews.
........
r87532 | georg.brandl | 2010-12-28 12:15:49 +0100 (Di, 28 Dez 2010) | 1 line

#10781: clarify that *encoding* is not a parameter for Node objects in general.
........
r87533 | georg.brandl | 2010-12-28 12:38:12 +0100 (Di, 28 Dez 2010) | 1 line

Remove history; adapt a bit more to reST, since this will once be part of the dev guide.
........
r87534 | georg.brandl | 2010-12-28 12:48:53 +0100 (Di, 28 Dez 2010) | 1 line

Rewrap.
........
r87535 | georg.brandl | 2010-12-28 12:49:41 +0100 (Di, 28 Dez 2010) | 1 line

#10739: document that on Windows, socket.makefile() does not make a file that has a true file descriptor usable where such a thing is expected.
........
/external/python/cpython2/Objects/bytearrayobject.c
619f16e1941c33687744d490da13d2372601bb30 09-Jun-2010 Antoine Pitrou <solipsis@pitrou.net> Issue #8930: fix some C code indentation
/external/python/cpython2/Objects/bytearrayobject.c
ae530c2babdf6c73946b386f8ca1369b7d011b7e 17-Apr-2010 Benjamin Peterson <benjamin@python.org> tiny simplification
/external/python/cpython2/Objects/bytearrayobject.c
821a8ea39fb93095cc06c0cd9ef4ce498af73ab3 17-Apr-2010 Benjamin Peterson <benjamin@python.org> have a clear error when passing something > sys.maxsize to bytearray
/external/python/cpython2/Objects/bytearrayobject.c
2d7911eda4866250c58498f0143b9465635fa775 14-Feb-2010 Mark Dickinson <dickinsm@gmail.com> Silence more compiler warnings; fix an instance of potential undefined behaviour from signed overflow.
/external/python/cpython2/Objects/bytearrayobject.c
36ecd676eac6c9d7ace41a1ff35124912371e91d 29-Jan-2010 Mark Dickinson <dickinsm@gmail.com> Issue #7788: Fix a crash produced by deleting a list slice with huge
step value. Patch by Marcin Bachry.
/external/python/cpython2/Objects/bytearrayobject.c
1fafaab5e5dac8e25c22c7b3d76ef8d3d3a967f0 25-Jan-2010 Ezio Melotti <ezio.melotti@gmail.com> #7775: fixed docstring for rpartition
/external/python/cpython2/Objects/bytearrayobject.c
e80a6a4ead1da87d2a4149bfcbb95c1a3320dbc2 17-Jan-2010 Antoine Pitrou <solipsis@pitrou.net> Issue #7561: Operations on empty bytearrays (such as `int(bytearray())`)
could crash in many places because of the PyByteArray_AS_STRING() macro
returning NULL. The macro now returns a statically allocated empty
string instead.
/external/python/cpython2/Objects/bytearrayobject.c
d234208588ed84e97d95df294f33e4426211682c 14-Jan-2010 Ezio Melotti <ezio.melotti@gmail.com> Fixed typo
/external/python/cpython2/Objects/bytearrayobject.c
6467213bfd10dd45f0ae6fa607c8052a3bdaec23 13-Jan-2010 Antoine Pitrou <solipsis@pitrou.net> 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.
/external/python/cpython2/Objects/bytearrayobject.c
5b7139aab41becad7ad736bd9ff2332960bf67f9 02-Jan-2010 Antoine Pitrou <solipsis@pitrou.net> Issue #7462: Implement the stringlib fast search algorithm for the `rfind`,
`rindex`, `rsplit` and `rpartition` methods. Patch by Florent Xicluna.
/external/python/cpython2/Objects/bytearrayobject.c
9d109742c0803521cee7e92956e628b98906797d 15-Oct-2009 Mark Dickinson <dickinsm@gmail.com> Fix missing semicolon
/external/python/cpython2/Objects/bytearrayobject.c
dc782b55f2c7ede13c8c2bbc76662e8a9784d20c 18-Sep-2009 Benjamin Peterson <benjamin@python.org> backport keyword argument support for bytearray.decode
/external/python/cpython2/Objects/bytearrayobject.c
135a7cf540b3070fd4b7ed30994ba3b75bc8183c 06-Sep-2009 Mark Dickinson <dickinsm@gmail.com> Issue #6847: s/bytes/bytearray/ in some bytearray error messages. Thanks Hagen Fürstenau.
/external/python/cpython2/Objects/bytearrayobject.c
c8a7c7c3b9c28dd2c0f9b81d807f8c7f60cb0924 06-Sep-2009 Mark Dickinson <dickinsm@gmail.com> Issue #6846: bytearray.pop was returning ints in the range [-128, 128)
instead of [0, 256). Thanks Hagen Fürstenau for the report and fix.
/external/python/cpython2/Objects/bytearrayobject.c
ec812caf5dd4c8e49c24341852181cca1740277e 22-Jul-2009 Georg Brandl <georg@python.org> Issue #6540: Fixed crash for bytearray.translate() with invalid parameters.
/external/python/cpython2/Objects/bytearrayobject.c
cac7af6863a997376bffe00ecf07a62c5618a5d9 27-Apr-2009 Eric Smith <eric@trueblade.com> Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors.
/external/python/cpython2/Objects/bytearrayobject.c
d672001b03ba75ae88737f2502c9103b157b43eb 18-Apr-2009 Benjamin Peterson <benjamin@python.org> rename internal bytes_ functions to bytearray
/external/python/cpython2/Objects/bytearrayobject.c
517cfdcfd9261bdaf34d054e3d2416abb9f9f930 05-Apr-2009 Georg Brandl <georg@python.org> Whitespace normalization.
/external/python/cpython2/Objects/bytearrayobject.c
9c1f7b2b04d1bbd92e575044f6fc3929c720cd72 08-Mar-2009 Benjamin Peterson <benjamin@python.org> fix funky indentation
/external/python/cpython2/Objects/bytearrayobject.c
a3e6c9763c475a93ab5fab0a42b2b3718e196d93 05-Mar-2009 Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> Fixed memory leak on failure.
/external/python/cpython2/Objects/bytearrayobject.c
b516370bcbeef7391edc28fa6bfcc8da6d98beea 02-Feb-2009 Raymond Hettinger <python@rcn.com> Issue 1242657: list(obj) can swallow KeyboardInterrupt.
/external/python/cpython2/Objects/bytearrayobject.c
78821ddf8c8eeebf757d72c2989cc0accea155de 25-Jan-2009 Benjamin Peterson <benjamin@python.org> fix building the core with --disable-unicode

I changed some bytearray methods to use strings instead of unicode like bytes_repr
Also, bytearray.fromhex() can take strings as well as unicode
/external/python/cpython2/Objects/bytearrayobject.c
6425a2fa8f354e755f876f2dea708697e42cc9fd 28-Dec-2008 Georg Brandl <georg@python.org> Backport r67974:

#4759: allow None as first argument of bytearray.translate(), for consistency with bytes.translate().

Also fix segfault for bytearray.translate(x, None) -- will backport this part to 3.0 and 2.6.
/external/python/cpython2/Objects/bytearrayobject.c
ae5beceb35384da8eed64940e5632d62c4907576 06-Dec-2008 Antoine Pitrou <solipsis@pitrou.net> Issue #4509: bugs in bytearray with exports (buffer protocol)
/external/python/cpython2/Objects/bytearrayobject.c
46cc6d11020d0bfa7b245b18679a613e9bc2b325 19-Nov-2008 Benjamin Peterson <benjamin@python.org> make sure that bytearray methods return a new bytearray even if there is no change

Fixes #4348
Reviewed by Brett
/external/python/cpython2/Objects/bytearrayobject.c
7d4c3177d541bb65d2d98aae165b0be9186e74f6 22-Aug-2008 Christian Heimes <christian@cheimes.de> Silenced compiler warning
Objects/stringlib/find.h:97: warning: 'stringlib_contains_obj' defined but not used
Reviewed by Benjamin Peterson
/external/python/cpython2/Objects/bytearrayobject.c
313bda12e8dfe618c6ef2f3681b5ce02409891c8 17-Aug-2008 Amaury Forgeot d'Arc <amauryfa@gmail.com> Fix a refleak in bytearray.split and bytearray.rsplit, detected by
regrtest.py -R:: test_bytes
/external/python/cpython2/Objects/bytearrayobject.c
f91d46a17d85da323895950852093117bc21f860 12-Aug-2008 Martin v. Löwis <martin@v.loewis.de> Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple,
by denying s# to parse objects that have a releasebuffer procedure,
and introducing s*.

More module might need to get converted to use s*.
/external/python/cpython2/Objects/bytearrayobject.c
c86b54cb0364fcfccb3be731d3cf223d89b0ebdf 20-Jul-2008 Neal Norwitz <nnorwitz@gmail.com> Fix a couple of names in error messages that were wrong
/external/python/cpython2/Objects/bytearrayobject.c
3238a3e3297fd691cde3b73bbe066f60f56c018f 17-Jul-2008 Georg Brandl <georg@python.org> Backport part of r65043.
/external/python/cpython2/Objects/bytearrayobject.c
3e75846cf60218db698c9046ac3ae2632403f141 17-Jul-2008 Georg Brandl <georg@python.org> Use _getbytevalue() in init too.
/external/python/cpython2/Objects/bytearrayobject.c
3e483f643de3d38125a7ca04bb424323cf736762 17-Jul-2008 Georg Brandl <georg@python.org> #3156: fix consistency in what type bytearray methods accept as items.
Also rename confusing "item" parameters to "index".
/external/python/cpython2/Objects/bytearrayobject.c
9be2ec109bcec499c1a6971fb4c40d9a8e7886fe 10-Jul-2008 Robert Schuppenies <okkotonushi@googlemail.com> Added additional __sizeof__ implementations and addressed comments made in
Issue3122.
/external/python/cpython2/Objects/bytearrayobject.c
d897264464ba153c1c50c0745199392fab796eff 21-Jun-2008 Andrew M. Kuchling <amk@amk.ca> Docstring typo
/external/python/cpython2/Objects/bytearrayobject.c
44720838eb9d8793124c6a2a0ba53f46b44e08ab 26-May-2008 Christian Heimes <christian@cheimes.de> Renamed bytesobject.c to bytearrayobject.c
Renamed stringobject.c to bytesobject.c
Fixed Windows builds
/external/python/cpython2/Objects/bytearrayobject.c