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 serhiy.storchaka
Recipients serhiy.storchaka
Date 2014-07-22.08:50:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406019042.04.0.51382116159.issue22031@psf.upfronthosting.co.za>
In-reply-to
Content
Default repr of an instance looks as:

>>> object()
<object object at 0xb71a14a8>

Many specialized reprs follow a pattern <... at {hexadecimal id}...>. But there are few deviations:

1. Reprs of WeakValueDictionary and WeakKeyDictionary in the weakref module output decimal id.

2. reprlib and reprs of CDLL in the ctypes module and DateTime and MultiCall in the xmlrpc.client module output hexadecimal id but without the "0x" prefix.

Proposed patch makes these cases to conform with other reprs.
History
Date User Action Args
2014-07-22 08:50:42serhiy.storchakasetrecipients: + serhiy.storchaka
2014-07-22 08:50:42serhiy.storchakasetmessageid: <1406019042.04.0.51382116159.issue22031@psf.upfronthosting.co.za>
2014-07-22 08:50:41serhiy.storchakalinkissue22031 messages
2014-07-22 08:50:41serhiy.storchakacreate