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 josephsmeng
Recipients josephsmeng
Date 2021-02-20.17:02:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613840541.54.0.110258286705.issue43278@roundup.psfhosted.org>
In-reply-to
Content
The function Py_GetCompiler() return the version info with a leading '\n' when build with GCC/clang, while without this on other compilers. This inconsistent make the REPL print the 'welcome message' quit different, which I think is not we expect.
From the snapshot images, we can see, when compiler with MSVC, the 'welcome message' has two lines, but with GCC it is 3 lines, which two lines is what expected.
Patch is given in the github rp, thanks for review.
History
Date User Action Args
2021-02-20 17:02:21josephsmengsetrecipients: + josephsmeng
2021-02-20 17:02:21josephsmengsetmessageid: <1613840541.54.0.110258286705.issue43278@roundup.psfhosted.org>
2021-02-20 17:02:21josephsmenglinkissue43278 messages
2021-02-20 17:02:21josephsmengcreate