36 Commits

Author SHA1 Message Date
Kangzhi Shi
d4af9d0bfe Reimpl cformat to suit for bytes 2020-11-01 20:04:41 +02:00
Kangzhi Shi
287e16351c Impl readinto for BufferedReader 2020-10-24 16:26:18 +02:00
Kangzhi Shi
1d4cfa4381 bytes pickle with subclass 2020-10-23 14:42:13 +02:00
Kangzhi Shi
64f4282ede fix error type 2020-10-16 09:34:35 +02:00
Kangzhi Shi
21a9e05abc Reimplement bytes fromhex 2020-10-12 10:09:15 +02:00
Kangzhi Shi
a3243da0d6 test_bytes remove @skip for successed test 2020-10-11 15:24:41 +02:00
Steve Shi
2d9b1d0649 Implement bytes.hex() with optional sep 2020-10-11 18:34:08 +09:00
Kangzhi Shi
6058d653a8 memoryview hex 2020-10-10 17:01:00 +09:00
Jeong YunWon
39058e2519 getitem for bytes/bytearray 2020-10-10 13:40:02 +09:00
Kangzhi Shi
d936b0c7d1 Implement pickle for bytes 2020-09-19 08:54:08 +02:00
Kangzhi Shi
20054bcce5 Fix bytes contractor 2020-09-19 08:54:08 +02:00
Kangzhi Shi
3192622ff6 Remove comment 2020-09-14 16:23:14 +02:00
Kangzhi Shi
036a791b51 Fix bytearray extend 2020-09-14 16:23:14 +02:00
Kangzhi Shi
b210eb8d4a Fix bytearray remove 2020-09-14 16:23:14 +02:00
Kangzhi Shi
3397d56f58 Fix bytearray append 2020-09-14 16:23:13 +02:00
Kangzhi Shi
a37737b0cd Fix bytearray insert 2020-09-14 16:23:13 +02:00
Kangzhi Shi
ac1e00f944 Fix bytearray pop() 2020-09-14 16:23:13 +02:00
Kangzhi Shi
be5599bf86 Fix bytes __add__ and __iadd__ 2020-09-14 16:23:13 +02:00
Kangzhi Shi
4d40a36fd2 Fix byte __imul__ 2020-09-14 16:23:13 +02:00
Kangzhi Shi
a9e02597cd Fix bytes setitem with Indexable value 2020-09-12 09:44:46 +02:00
Kangzhi Shi
c2c5a81e38 Fix bytes stuck on setslice 2020-09-10 10:15:08 +02:00
Steve Shi
a5d0df25f7 Refactor with PySliceableSequenceMut trait to combine the slice operation 2020-09-06 17:08:42 +09:00
Noah
5594660459 Fix bytes decode/encoding tests 2020-09-02 10:34:25 -05:00
Youngchan Lee
57fbce9d31 Handle TypeErrors in bytes() & bytearray() 2020-08-26 14:11:50 +09:00
Noah
2fc90e17ac Fix error messages for index overflows 2020-06-06 17:14:32 -05:00
Jeong YunWon
98b5876de8 Merge pull request #1864 from youknowone/bytes-setslice
Fix bytes.__setitem__ slice for inversed range
2020-04-25 03:37:36 +09:00
Jeong YunWon
4c9486fb97 Fix bytes.{start|end}swith 2020-04-16 17:26:30 +09:00
Jeong YunWon
2423a046fa Unmark test_bytes test_returns_new_copy
which uses tons of bytes methods
2020-04-15 11:36:40 +09:00
Jeong YunWon
2516f69879 Fix bytes.split 2020-04-15 11:36:38 +09:00
Jeong YunWon
18fe9672ee Fix bytes.__setitem__ slice for inversed range 2020-04-13 03:56:46 +09:00
Jeong YunWon
7d7d048758 Fix {str|bytes|bytearray}.partition 2020-04-12 14:14:49 +09:00
Jeong YunWon
aa36a944bf Fix new bytes with overflow error 2020-04-11 10:56:24 +09:00
Jeong YunWon
e28ab72b4e Refactor and fix str/bytes count/find/index 2020-04-08 13:13:15 +09:00
Aviv Palivoda
d6a8aeb3e4 Remove expected failure from passing test 2020-03-21 10:25:15 +02:00
Jeong YunWon
ef1815a4ca Disable failing tests from test_bytes.py 2020-03-13 10:20:09 +09:00
CPython dev
68d383aa20 Lib/test/test_bytes.py from CPython 3.8.2 2020-03-13 10:20:09 +09:00