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 terry.reedy
Recipients cool-RR, terry.reedy, yselivanov
Date 2014-01-24.19:48:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390592929.28.0.358636885148.issue20378@psf.upfronthosting.co.za>
In-reply-to
Content
Signature.__repr__ already exits. It is inherited from object. So you must be proposing to override the inherited method. For what purpose? With what outcome?

Without reading the signature PEP, I believe the current difference between str and repr is intentional, not accidental. Example:
>>> repr(s)
'<inspect.Signature object at 0x02E7BC08>'
>>> str(s)
'(self, a)'

If so, this issue should be closed unless you can provide an excellent reason to break code the expects the current behavior.
History
Date User Action Args
2014-01-24 19:48:49terry.reedysetrecipients: + terry.reedy, cool-RR, yselivanov
2014-01-24 19:48:49terry.reedysetmessageid: <1390592929.28.0.358636885148.issue20378@psf.upfronthosting.co.za>
2014-01-24 19:48:49terry.reedylinkissue20378 messages
2014-01-24 19:48:48terry.reedycreate