Benjamin Peterson added the comment:

IMO, the "if (size == 0)" logic should be moved down several lines to avoid 
introducing a redundant "PyBytes_FromStringAndSize" call.

----------
nosy: +benjamin.peterson

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25270>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to