[issue33253] xxsubtype.bench does not function correctly on CPython 3+

2018-04-09 Thread Gorialis
New submission from Gorialis : Due to the `OS|i` signature of `xxsubtype.bench`, it accepts `bytes` as its second argument in CPython 3+, however, it does a call `PyObject_GetAttr` which only accepts `PyString`. This means that if you give the function `bytes`, it fails on the getattr call

[issue33253] xxsubtype.bench does not function correctly on CPython 3+

2018-04-09 Thread Gorialis
Change by Gorialis : -- keywords: +patch pull_requests: +6135 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33253> ___ ___ Python-