[issue28715] Check result of PyUnicode_AsUTF8

2016-11-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue28715] Check result of PyUnicode_AsUTF8

2016-11-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 38f321a6be41 by Serhiy Storchaka in branch '3.5': Issue #28715: Added error checks for PyUnicode_AsUTF8(). https://hg.python.org/cpython/rev/38f321a6be41 New changeset 0bb8ab158042 by Serhiy Storchaka in branch '3.6': Issue #28715: Added error check

[issue28715] Check result of PyUnicode_AsUTF8

2016-11-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28715] Check result of PyUnicode_AsUTF8

2016-11-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: _PyUnicode_AsString is just an outdated alias to PyUnicode_AsUTF8. -- ___ Python tracker ___ ___ P

[issue28715] Check result of PyUnicode_AsUTF8

2016-11-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The function PyUnicode_AsUTF8() can fail, but not all callers check for error. Proposed patch adds missed checks. In some places the code is rewritten to not use PyUnicode_AsUTF8() at all. -- components: Extension Modules, Interpreter Core files: c