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 Neui, SilentGhost, eryksun, ezio.melotti, jberg, ncoghlan, vstinner
Date 2021-03-13.13:15:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> "Segmentation fault with invalid Unicode command-line arguments in embedded Python" (actually 'fixed' since it now abort()s)

This issue is different: it is about the Py_Main() function called explicitly when Python is embedded in an application. Python fails if the command line contains a *wide character* outside the [U+0000; U+10ffff] range.

This issue is about Python on Linux in which case Py_BytesMain() is used to decode *bytes* from the command line.
Date User Action Args
2021-03-13 13:15:20vstinnersetrecipients: + vstinner, ncoghlan, ezio.melotti, SilentGhost, eryksun, Neui, jberg
2021-03-13 13:15:20vstinnersetmessageid: <>
2021-03-13 13:15:20vstinnerlinkissue35883 messages
2021-03-13 13:15:20vstinnercreate