[issue28062] Streamline repr(partial object)

2016-09-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Similar issues: issue27541 and issue21861. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue28062] Streamline repr(partial object)

2016-09-10 Thread Emanuel Barry
New submission from Emanuel Barry: This is a followup to #27137, where it was found out the repr of a partial object includes the module (i.e. 'functools') only if it's not a subclass. This behaviour is surprising at best. Attached patch streamlines the reprs of partial objects to always inclu