Author jdemeyer
Recipients jdemeyer, vstinner
Date 2019-08-04.21:23:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Another solution would be to change the __str__ of various function objects to a prettier output. For example, we currently have

>>> def f(): pass
>>> print(f)
<function f at 0x7f9f4bbe5e18>

We could change this to

>>> def f(): pass
>>> print(f)

and then use "%S" to display the functions in error messages. But I have a feeling that this is a more controversial change than PR 14890.
Date User Action Args
2019-08-04 21:23:04jdemeyersetrecipients: + jdemeyer, vstinner
2019-08-04 21:23:04jdemeyersetmessageid: <>
2019-08-04 21:23:04jdemeyerlinkissue37645 messages
2019-08-04 21:23:04jdemeyercreate