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, ncoghlan, rhettinger, serhiy.storchaka
Date 2016-09-10.12:12:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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 include the module.

Raymond, do you remember why this approach was taken? Looking at the code, it seems it was just the easiest way to go about it.

Side-note: I couldn't run the test suite since I ran into #28061, so I just did manual testing.
Date User Action Args
2016-09-10 12:12:43abarrysetrecipients: + abarry, rhettinger, ncoghlan, serhiy.storchaka
2016-09-10 12:12:43abarrysetmessageid: <>
2016-09-10 12:12:43abarrylinkissue28062 messages
2016-09-10 12:12:43abarrycreate