Serhiy Storchaka added the comment:

assert() is no-op in release build and that are not critical parts.

Actually the patch decreases the number of checks in release build. Runtime 
check PyErr_Occurred() is moved into assert() in builtin_len().

----------

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

Reply via email to