Message262978
Proposed patch adds the "const" qualifier to char and wchar_t pointers in the posix module to prevents possible bugs. These pointers point to internal data of PyBytes or PyUnicode objects or to C string literals, and unintentional changing the content is a hard bug. I expect that the patch can also eliminate some compiler warnings.
Since large part of the code is Windows specific, the patch needs to be tested on Windows. |
|
Date |
User |
Action |
Args |
2016-04-07 06:18:17 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, larry |
2016-04-07 06:18:17 | serhiy.storchaka | set | messageid: <1460009897.32.0.801268253531.issue26708@psf.upfronthosting.co.za> |
2016-04-07 06:18:17 | serhiy.storchaka | link | issue26708 messages |
2016-04-07 06:18:16 | serhiy.storchaka | create | |
|