New submission from Joseph Bane: The distutils strtobool function returns 0 or 1 rather than the native boolean type True or False values:
https://hg.python.org/cpython/file/3.5/Lib/distutils/util.py#l304 Please see the attached patch for updates to this function. I have included updates to use a f-string in the raise and casefold instead of lower. ---------- components: Distutils files: patch.diff keywords: patch messages: 272263 nosy: Joseph Bane, dstufft, eric.araujo priority: normal severity: normal status: open title: strtobool returns 0 and 1 rather than False and True type: enhancement versions: Python 2.7, Python 3.5 Added file: http://bugs.python.org/file44060/patch.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27721> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com