Georgiy Treyvus added the comment: Yes the assert statements are executed. They are not in any sort of if block or anything like that. When the encrypt function is called and it was in the above examples the assert statements execute period. They really don't have much else of a choice. Look at the attached source code and see for yourself.
---------- Added file: http://bugs.python.org/file29451/gcipher.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17466> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com