Ma Lin <malin...@163.com> added the comment:
I am checking all the .py files in `Lib` folder. hmac.py has two len() bugs: https://github.com/python/cpython/blob/v3.10.0b3/Lib/hmac.py#L212 https://github.com/python/cpython/blob/v3.10.0b3/Lib/hmac.py#L214 I think PR 26764 is prepared, it fixes the len() bugs in bz2.py/lzma.py files. ---------- nosy: +christian.heimes title: PickleBuffer doesn't have __len__ method -> stdlib wrongly uses len() for bytes-like object _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44439> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com