[issue27721] distutils strtobool returns 0 and 1 rather than False and True

2016-08-10 Thread Joseph Bane
Joseph Bane added the comment: Thank you for your feedback. I definitely understand your reasoning and commitment to not introducing breaking changes in externally facing codes. I also agree that this does fall slightly more on the side of aesthetic rather than functional changes. However

[issue27721] distutils strtobool returns 0 and 1 rather than False and True

2016-08-09 Thread Joseph Bane
Joseph Bane added the comment: Thank you for the feedback. Please find an updated patch attached. -- Added file: http://bugs.python.org/file44061/patch.diff ___ Python tracker <http://bugs.python.org/issue27

[issue27721] strtobool returns 0 and 1 rather than False and True

2016-08-09 Thread Joseph Bane
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