[issue20277] default __debug__ value and asserts
New submission from xwild: Why the python sets the "__debug__" builtin = True by default? It causes that people never use the "assert" construction by their programms in a regular way. it's too hard to explain everyone that "-O" is required by a script. It's very usefull instruction and actually it's blocked by default. -- components: Interpreter Core, Tests messages: 208256 nosy: xwild priority: normal severity: normal status: open title: default __debug__ value and asserts type: behavior versions: 3rd party, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5 ___ Python tracker <http://bugs.python.org/issue20277> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20277] default __debug__ value and asserts
Changes by xwild : -- versions: -3rd party ___ Python tracker <http://bugs.python.org/issue20277> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20277] default __debug__ value and asserts
Changes by xwild : -- nosy: +serhiy.storchaka ___ Python tracker <http://bugs.python.org/issue20277> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20277] default __debug__ value and asserts
Changes by xwild : -- nosy: +ezio.melotti, michael.foord, pitrou ___ Python tracker <http://bugs.python.org/issue20277> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20277] default __debug__ value and asserts
xwild added the comment: Yes it's acceptable, but why the debug mode is enabled by default? It's a not expected behavior. -- ___ Python tracker <http://bugs.python.org/issue20277> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
