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 yselivanov
Recipients cool-RR, larry, ncoghlan, python-dev, serhiy.storchaka, terry.reedy, yselivanov
Date 2015-05-15.16:42:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431708156.83.0.732616835152.issue22547@psf.upfronthosting.co.za>
In-reply-to
Content
Actually, I like the current repr (minus the object ID, I'll update the code).

The thing about BoundArguments is that '.arguments' is the main property. You use it to add more stuff to *args & **kwargs, or to add/remove positional/keyword arguments.  Seeing a flattened call signature in the repr won't help you with debugging.

Perhaps, we can implement __str__ using your approach.
History
Date User Action Args
2015-05-15 16:42:36yselivanovsetrecipients: + yselivanov, terry.reedy, ncoghlan, larry, cool-RR, python-dev, serhiy.storchaka
2015-05-15 16:42:36yselivanovsetmessageid: <1431708156.83.0.732616835152.issue22547@psf.upfronthosting.co.za>
2015-05-15 16:42:36yselivanovlinkissue22547 messages
2015-05-15 16:42:36yselivanovcreate