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 jdemeyer
Recipients jdemeyer, petr.viktorin, vstinner
Date 2019-08-17.18:29:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1566066576.02.0.826850060838.issue37645@roundup.psfhosted.org>
In-reply-to
Content
> I'm wary of making error messages depend on the str representation of a function; that would prevent us from changing it later.

Why wouldn't we be able to change anything? Typically, the exact string of an error message is NOT part of the API (the exception *type* is, but we're not talking about that).

> I'm wary of "%S" used in error messages. Those are for the programmer, not the user

I'm not following here. Given that Python is a programming language, the user *is* the programmer.

Anyway, you don't have to be convinced. I'm trying to solve a problem here and I have two approaches (PR 14890 and PR 15295). I'm more inclined towards PR 15295, but if you like the idea of PR 14890 better, we can go with that instead.
History
Date User Action Args
2019-08-17 18:29:36jdemeyersetrecipients: + jdemeyer, vstinner, petr.viktorin
2019-08-17 18:29:36jdemeyersetmessageid: <1566066576.02.0.826850060838.issue37645@roundup.psfhosted.org>
2019-08-17 18:29:36jdemeyerlinkissue37645 messages
2019-08-17 18:29:35jdemeyercreate