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 vstinner
Date 2019-07-01.14:57:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1561993021.0.0.167358245847.issue37467@roundup.psfhosted.org>
In-reply-to
Content
Python 2.7 is not affected:

            const char *filename, *text;
            int lineno, offset;
            if (!parse_syntax_error(value, &message, &filename,
                                    &lineno, &offset, &text))
                PyErr_Clear();
            else {
                char buf[10];
                PyFile_WriteString("  File \"", f);
                if (filename == NULL)
                    PyFile_WriteString("<string>", f);
                else
                    PyFile_WriteString(filename, f);
                PyFile_WriteString("\", line ", f);
                PyOS_snprintf(buf, sizeof(buf), "%d", lineno);
                PyFile_WriteString(buf, f);
                PyFile_WriteString("\n", f);
History
Date User Action Args
2019-07-01 14:57:01vstinnersetrecipients: + vstinner
2019-07-01 14:57:01vstinnersetmessageid: <1561993021.0.0.167358245847.issue37467@roundup.psfhosted.org>
2019-07-01 14:57:00vstinnerlinkissue37467 messages
2019-07-01 14:57:00vstinnercreate