Message343365
| Author | vstinner |
|---|---|
| Recipients | serhiy.storchaka, vstinner |
| Date | 2019-05-24.10:29:45 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1558693785.23.0.512986851321.issue37034@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
Example of generated code:
if (!PyBytes_Check(args[15])) {
_PyArg_BadArgument("replace", 16, "bytes", args[15]);
goto exit;
}
Error message:
TypeError: replace() argument 16 must be bytes, not tuple
It is the 'lnotab' parameter which is a keywoard-only parameter. I expect the parameter name in the error message.
Note: I got this error while implementing bpo-37032. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-05-24 10:29:45 | vstinner | set | recipients: + vstinner, serhiy.storchaka |
| 2019-05-24 10:29:45 | vstinner | set | messageid: <1558693785.23.0.512986851321.issue37034@roundup.psfhosted.org> |
| 2019-05-24 10:29:45 | vstinner | link | issue37034 messages |
| 2019-05-24 10:29:45 | vstinner | create | |