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 pitrou
Recipients pitrou
Date 2008-08-27.18:05:40
SpamBayes Score 5.3005874e-06
Marked as misclassified No
Message-id <1219860341.22.0.260624764626.issue3705@psf.upfronthosting.co.za>
In-reply-to
Content
The explanation is quite simple: in Py_Main, the arguments are converted
from wide to byte strings, but the required length of the byte string is
assumed equal to that of the wide string.

Which gives:

$ ./python -c "print('à')"
Fatal Python error: not enough memory to copy -c argument
Erreur de segmentation (core dumped)
$ ./python -m à
Fatal Python error: not enough memory to copy -m argument
Erreur de segmentation (core dumped)
History
Date User Action Args
2008-08-27 18:05:41pitrousetrecipients: + pitrou
2008-08-27 18:05:41pitrousetmessageid: <1219860341.22.0.260624764626.issue3705@psf.upfronthosting.co.za>
2008-08-27 18:05:40pitroulinkissue3705 messages
2008-08-27 18:05:40pitroucreate