Message272282
| Author |
berker.peksag |
| Recipients |
Joseph Bane, SilentGhost, berker.peksag, dstufft, eric.araujo |
| Date |
2016年08月09日.23:55:17 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1470786917.3.0.402270550162.issue27721@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Could you also update documentation in Doc/distutils/apiref.rst?
Also, test_strtobool in Lib/distutils/tests/test_util.py doesn't test the following case:
>>> from distutils.util import strtobool
>>> strtobool('x')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/berker/projects/cpython/default/Lib/distutils/util.py", line 317, in strtobool
raise ValueError("invalid truth value %r" % (val,))
ValueError: invalid truth value 'x'
Bonus points if you add a test for that :)
Thanks! |
|