This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Gorialis
Recipients Gorialis
Date 2018-04-09.22:46:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1523313968.82.0.682650639539.issue33253@psf.upfronthosting.co.za>
In-reply-to
Content
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, but if you give it anything else, it rejects it as it doesn't match the signature.

While the module itself does not contribute to CPython's functionality (and is infact optional), since it serves as an example, it should actually function, as it does in CPython 2.
History
Date User Action Args
2018-04-09 22:46:08Gorialissetrecipients: + Gorialis
2018-04-09 22:46:08Gorialissetmessageid: <1523313968.82.0.682650639539.issue33253@psf.upfronthosting.co.za>
2018-04-09 22:46:08Gorialislinkissue33253 messages
2018-04-09 22:46:08Gorialiscreate