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 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:45vstinnersetrecipients: + vstinner, serhiy.storchaka
2019-05-24 10:29:45vstinnersetmessageid: <1558693785.23.0.512986851321.issue37034@roundup.psfhosted.org>
2019-05-24 10:29:45vstinnerlinkissue37034 messages
2019-05-24 10:29:45vstinnercreate