Serhiy Storchaka
|
bc9e75ed02
|
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:18:01 +03: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
|
ef64847f71
|
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:55:42 +02: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 |
|
Gregory P. Smith
|
32d34bcf1d
|
Use assertEqual rather than assertEquals to avoid the deprecation warning.
|
2015-04-26 05:05:53 +00:00 |
|
Gregory P. Smith
|
8cb6569fe1
|
Implements issue #9951: Adds a hex() method to bytes, bytearray, & memoryview.
Also updates a few internal implementations of the same thing to use the
new built-in code.
Contributed by Arnon Yaari.
|
2015-04-25 23:22:26 +00:00 |
|
Serhiy Storchaka
|
1dd49824df
|
Issue #23681: The -b option now affects comparisons of bytes with int.
|
2015-03-20 16:54:57 +02:00 |
|
Stefan Krah
|
650c1e818d
|
Issue #14203: Remove obsolete support for view==NULL in bytesiobuf_getbuffer()
and array_buffer_getbuf().
|
2015-02-03 21:43:23 +01:00 |
|
Serhiy Storchaka
|
4e1942bcd8
|
Don't use deprecated assertEquals.
|
2015-01-26 09:28:11 +02:00 |
|
Ethan Furman
|
b95b56150f
|
Issue20284: Implement PEP461
|
2015-01-23 20:05:18 -08:00 |
|
Serhiy Storchaka
|
65ee4674e2
|
Issue #22777: Test pickling with all protocols.
|
2014-12-15 14:06:02 +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 |
|
Serhiy Storchaka
|
0b2cacb42a
|
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:26:14 +02:00 |
|
Antoine Pitrou
|
8a03896cac
|
Issue #22335: Fix crash when trying to enlarge a bytearray to 0x7fffffff bytes on a 32-bit platform.
|
2014-11-02 18:41:56 +01: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
|
a2f93885b0
|
merge 3.4 (#22379)
|
2014-09-28 12:57:22 -04:00 |
|
Benjamin Peterson
|
c31f12d196
|
check that exception messages are not empty (#22379)
Patch by Yongzhi Pan.
|
2014-09-28 12:56:42 -04:00 |
|
Terry Jan Reedy
|
ffff1440d1
|
Issue #22077: Improve index error messages for bytearrays, bytes, lists, and
tuples by adding 'or slices'. Added ', not <typename' for bytearrays.
Original patch by Claudiu Popa.
|
2014-08-02 01:30:37 -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 |
|