Message279218
Since PyUnicodeDecodeError_GetObject() always returns bytes object, following PyBytes_AsString() never fails and can be replaced with the PyBytes_AS_STRING() macro. This makes error handlers looking a littler clearer and a little faster.
The patch is inspired by the patch of Xiang Zhang (issue28504). |
|
Date |
User |
Action |
Args |
2016-10-22 20:53:49 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, xiang.zhang |
2016-10-22 20:53:48 | serhiy.storchaka | set | messageid: <1477169628.97.0.862291217974.issue28510@psf.upfronthosting.co.za> |
2016-10-22 20:53:48 | serhiy.storchaka | link | issue28510 messages |
2016-10-22 20:53:48 | serhiy.storchaka | create | |
|