Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Historically the update_lines_cols() helper returned 0 on error, and I think 
that it is better to keep it so.

The bug is in the Python function update_lines_cols() added in 3.5 (see 
issue4254). Its implementation should return NULL if the helper returns 0, and 
None otherwise. There is no reason to return an integer.

----------
nosy: +serhiy.storchaka

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

Reply via email to