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 abarry
Recipients abarry, brett.cannon, ncoghlan, rhettinger, serhiy.storchaka, vstinner, xiang.zhang
Date 2016-09-07.13:41:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473255718.91.0.297852142033.issue27137@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Nick, thank you for letting me know! I started trying to fix this, however I found it very hard to fix the recursive repr issue. I've whipped up an incomplete (but yet working) patch that fixes all but the recursive repr issue. Only those two tests fail (once for functools.partial and once for the subclass). I have to go for now, but feel free to play with this patch and see if you can fix it. The problem is that the way it's handled is inconsistent within the C implementation, and is incompatible with reprlib.recursive_repr. I might try my hand at it later today or tomorrow.

In the meantime, I think maybe the C implementation cares too much about the special cases for that.
History
Date User Action Args
2016-09-07 13:41:58abarrysetrecipients: + abarry, brett.cannon, rhettinger, ncoghlan, vstinner, serhiy.storchaka, xiang.zhang
2016-09-07 13:41:58abarrysetmessageid: <1473255718.91.0.297852142033.issue27137@psf.upfronthosting.co.za>
2016-09-07 13:41:58abarrylinkissue27137 messages
2016-09-07 13:41:58abarrycreate