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 |
|
Antoine Pitrou
|
ac65d96777
|
Issue #12170: The count(), find(), rfind(), index() and rindex() methods
of bytes and bytearray objects now accept an integer between 0 and 255
as their first argument. Patch by Petri Lehtinen.
|
2011-10-20 23:54:17 +02:00 |
|
Eli Bendersky
|
906b88fb2a
|
Issue #12380: PyArg_ParseTuple now accepts a bytearray for the 'c' format.
As a side effect, this now allows the rjust, ljust and center methods of
bytes and bytearray to accept a bytearray argument.
Patch by Petri Lehtinen
|
2011-07-29 07:05:08 +03:00 |
|
Ezio Melotti
|
bf1253b25a
|
#6780: merge with 3.2.
|
2011-04-26 06:45:24 +03:00 |
|