Message72036
| 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:41 | pitrou | set | recipients:
+ pitrou |
| 2008年08月27日 18:05:41 | pitrou | set | messageid: <1219860341.22.0.260624764626.issue3705@psf.upfronthosting.co.za> |
| 2008年08月27日 18:05:40 | pitrou | link | issue3705 messages |
| 2008年08月27日 18:05:40 | pitrou | create |
|