Serhiy Storchaka
|
15095800a3
|
Issue #24731: Fixed crash on converting objects with special methods
__bytes__, __trunc__, and __float__ returning instances of subclasses of
bytes, int, and float to subclasses of bytes, int, and float correspondingly.
|
2015-11-25 15:47:01 +02:00 |
|
Serhiy Storchaka
|
7b6e3b91f5
|
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.
|
2015-06-29 21:14:06 +03:00 |
|
Antoine Pitrou
|
2545411e28
|
Issue #23985: Fix a possible buffer overrun when deleting a slice from the front of a bytearray and then appending some other bytes data.
Patch by Martin Panter.
|
2015-05-19 20:52:27 +02:00 |
|
Serhiy Storchaka
|
bad1257c96
|
Issue #22777: Test pickling with all protocols.
|
2014-12-15 14:03:42 +02:00 |
|
Serhiy Storchaka
|
83cf99d733
|
Issue #20335: bytes constructor now raises TypeError when encoding or errors
is specified with non-string argument. Based on patch by Renaud Blanch.
|
2014-12-02 09:24:06 +02:00 |
|
Antoine Pitrou
|
cc23154d02
|
Issue #22335: Fix crash when trying to enlarge a bytearray to 0x7fffffff bytes on a 32-bit platform.
|
2014-11-02 18:40:09 +01:00 |
|
Benjamin Peterson
|
c31f12d196
|
check that exception messages are not empty (#22379)
Patch by Yongzhi Pan.
|
2014-09-28 12:56:42 -04:00 |
|
Victor Stinner
|
7611964b2c
|
Fix test_bytes when sys.stdin is None, for example on Windows when using
pythonw.exe instead of python.exe
|
2014-07-28 22:07:07 +02:00 |
|
Victor Stinner
|
507ac3a591
|
(Merge 3.3) Issue #19969: PyBytes_FromFormatV() now raises an OverflowError if
"%c" argument is not in range [0; 255].
|
2013-12-13 12:15:31 +01:00 |
|
Victor Stinner
|
c9362cf86a
|
Issue #19969: PyBytes_FromFormatV() now raises an OverflowError if "%c"
argument is not in range [0; 255].
|
2013-12-13 12:14:44 +01:00 |
|
Antoine Pitrou
|
5df8a8a1fd
|
Issue #19087: Improve bytearray allocation in order to allow cheap popping of data at the front (slice deletion).
|
2013-10-05 21:12:18 +02:00 |
|
Stefan Krah
|
c4a10f5970
|
Merge 3.3.
|
2013-01-26 13:07:36 +01:00 |
|
Stefan Krah
|
6e572b8b2e
|
Adapt test_bytes for a build --without-doc-strings.
|
2013-01-26 13:06:36 +01:00 |
|
Ezio Melotti
|
5b1acc0dff
|
#16910: merge with 3.3.
|
2013-01-10 07:46:29 +02:00 |
|
Ezio Melotti
|
0dceb560b6
|
#16910: test_bytes, test_unicode, and test_userstring now work with unittest test discovery. Patch by Zachary Ware.
|
2013-01-10 07:43:26 +02:00 |
|
Andrew Svetlov
|
8b33dd8e54
|
Use OESeeror instead of os.error (#16720)
Patch by Serhiy Storchaka.
|
2012-12-24 19:58:48 +02:00 |
|
Benjamin Peterson
|
7643c92cdd
|
merge 3.3 (#16722)
|
2012-12-19 15:28:46 -06:00 |
|
Benjamin Peterson
|
5ff3f73d94
|
try to call __bytes__ before __index__ (closes #16722)
|
2012-12-19 15:27:41 -06:00 |
|
Ezio Melotti
|
212843b29f
|
#8401: merge with 3.3.
|
2012-11-03 21:24:47 +02:00 |
|
Ezio Melotti
|
7376801f61
|
#8401: merge with 3.2.
|
2012-11-03 21:22:41 +02:00 |
|
Ezio Melotti
|
c64bcbec4b
|
#8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an error.
|
2012-11-03 21:19:06 +02:00 |
|
Antoine Pitrou
|
cfc22b4a9b
|
Issue #15958: bytes.join and bytearray.join now accept arbitrary buffer objects.
|
2012-10-16 21:07:23 +02:00 |
|
Kristján Valur Jónsson
|
31668b8f7a
|
Issue #14288: Serialization support for builtin iterators.
|
2012-04-03 10:49:41 +00:00 |
|
Ezio Melotti
|
cda6b6d60d
|
#14081: The sep and maxsplit parameter to str.split, bytes.split, and bytearray.split may now be passed as keyword arguments.
|
2012-02-26 09:39:55 +02:00 |
|
Victor Stinner
|
f8eac00779
|
Issue #13623: Fix a performance regression introduced by issue #12170 in
bytes.find() and handle correctly OverflowError (raise the same ValueError than
the error for -1).
|
2011-12-18 01:17:41 +01:00 |
|