Commit Graph

7 Commits

Author SHA1 Message Date
snowapril
abbcc7f322 add skip test__bytes__ before cpython 3.11
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-08-29 09:05:15 +09:00
snowapril
cb4df01aca Implement bytes.__bytes__
This commit implement `bytes.__bytes__` in cpython 3.11 for typing
module.

* https://docs.python.org/3.11/whatsnew/3.11.html#other-cpython-implementation-changes
* https://bugs.python.org/issue24234

Signed-off-by: snowapril <sinjihng@gmail.com>
2021-08-29 07:32:21 +09:00
Kangzhi Shi
1384133636 fix bytes and bytearray fromhex support subclass 2021-08-23 16:43:01 +02:00
sobolevn
06d33f8f2c id() for str stays the same after * 1, refs #2840 2021-08-12 13:49:00 +03:00
sobolevn
37f66dd998 id() for bytes stays the same after * 1, refs #2840 2021-08-11 21:53:52 +03:00
Kangzhi Shi
f348c56eea Refactor ByteInnerNewOptions 2020-10-20 06:53:32 +00:00
Jeong YunWon
e62a164f4d Move tests -> extra_tests 2020-09-13 06:58:57 +09:00