[issue37501] Test failures when CPython is built without docstrings

Terry J. Reedy report at bugs.python.org
Tue Jul 9 03:46:22 EDT 2019


Terry J. Reedy <tjreedy at udel.edu> added the comment:

Compiling without docstrings only affects compiled functions.  (Is this option unix only, for servers?)  This caused failures in 6 /test test functions.  Running with -00 only affects python functions.  It causes failure in 19 test function on Windows.  For IDLE, it causes many more failures than the configuration change. 

__doc__ == '' might have been less of a nuisance than == None, but too late to change that glocally now, although it can be a local solution.

----------
nosy: +terry.reedy

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37501>
_______________________________________


More information about the Python-bugs-list mailing list