[New-bugs-announce] [issue22200] Remove distutils checks for Python version

Thomas Kluyver report at bugs.python.org
Thu Aug 14 23:37:01 CEST 2014


New submission from Thomas Kluyver:

We noticed the other day that distutils, despite being part of the standard library, checks the version of Python it's running under and has some different code paths - one of which is only taken for Python < 2.2.

We haven't managed to figure out why this is necessary. So this issue is partly a patch and partly a question: is there a reason that distutils can't assume it's run on the version of Python it came with? If so, I'm happy to make a new patch adding a comment to explain that. If not, I'll go looking for other places where it has unnecessary checks, and we can clean up one little corner of wtf.

----------
components: Distutils
files: rm-distutils-version-check.patch
keywords: patch
messages: 225320
nosy: dstufft, eric.araujo, takluyver
priority: normal
severity: normal
status: open
title: Remove distutils checks for Python version
Added file: http://bugs.python.org/file36372/rm-distutils-version-check.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22200>
_______________________________________


More information about the New-bugs-announce mailing list