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

2018-04-09 Thread Gorialis
Change by Gorialis <sansgorialis+...@gmail.com>: -- keywords: +patch pull_requests: +6135 stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

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

2018-04-09 Thread Gorialis
New submission from Gorialis <sansgorialis+...@gmail.com>: 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