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 2017-08-13.16:12:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1502640775.21.0.0795700296627.issue31194@psf.upfronthosting.co.za>
In-reply-to
Content
With the new C implementation of collections.OrderedDict, its repr correctly uses the subclass's name, unlike deque and defaultdict.

class Thing(_collections.OrderedDict):
    pass
>>> Thing()
Thing([])

class Thing(_collections.deque):
    pass
>>> Thing()
deque([])
History
Date User Action Args
2017-08-13 16:12:55bupsetrecipients: + bup
2017-08-13 16:12:55bupsetmessageid: <1502640775.21.0.0795700296627.issue31194@psf.upfronthosting.co.za>
2017-08-13 16:12:55buplinkissue31194 messages
2017-08-13 16:12:55bupcreate