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 bup
Recipients bup
Date 2018-10-03.23:35:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538609758.67.0.545547206417.issue34887@psf.upfronthosting.co.za>
In-reply-to
Content
I've tested it on at least one of each minor version since 3.4 but it looks like it may be specific to 3.6.0. The developer's guide isn't clear enough for me to understand what's eligible for bug fixes but since I'm not sure if it actually is 3.6.0 exclusive I'll post it just in case.

Here's how to cause it:

if 1:
    class Bytes(bytes):
        def __new__(cls, name, encoding='ascii'):
            return bytes.__new__(cls, name.encode())
        __repr__ = bytes.decode
    print(repr(Bytes("LOAD_NAME")))

Traceback (most recent call last):
  File "<stdin>", line 6, in <module>
SystemError: <built-in function displayhook> returned NULL without setting an error
History
Date User Action Args
2018-10-03 23:35:58bupsetrecipients: + bup
2018-10-03 23:35:58bupsetmessageid: <1538609758.67.0.545547206417.issue34887@psf.upfronthosting.co.za>
2018-10-03 23:35:58buplinkissue34887 messages
2018-10-03 23:35:58bupcreate