This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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!
History
Date User Action Args
2016-08-09 23:55:17berker.peksagsetrecipients: + berker.peksag, eric.araujo, SilentGhost, dstufft, Joseph Bane
2016-08-09 23:55:17berker.peksagsetmessageid: <1470786917.3.0.402270550162.issue27721@psf.upfronthosting.co.za>
2016-08-09 23:55:17berker.peksaglinkissue27721 messages
2016-08-09 23:55:17berker.peksagcreate