Message372205
| Author |
serhiy.storchaka |
| Recipients |
serhiy.storchaka, steve.dower, vstinner |
| Date |
2020年06月23日.20:25:16 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1592943916.33.0.703707686059.issue41094@roundup.psfhosted.org> |
| In-reply-to |
| Content |
There are issues with using PySys_Audit() with non-ASCII data on non-UTF-8 locale.
One example is with PYTHONSTARTUP. In pymain_run_startup() in Modules/main.c the value of the PYTHONSTARTUP environment variable is passed to PySys_Audit() as UTF-8 encoded data. If it contains non-ASCII characters and the locale encoding is different from UTF-8, it fails.
There are similar bugs in _Py_fopen() and _Py_fopen_obj(). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2020年06月23日 20:25:16 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, steve.dower |
| 2020年06月23日 20:25:16 | serhiy.storchaka | set | messageid: <1592943916.33.0.703707686059.issue41094@roundup.psfhosted.org> |
| 2020年06月23日 20:25:16 | serhiy.storchaka | link | issue41094 messages |
| 2020年06月23日 20:25:16 | serhiy.storchaka | create |
|