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 <rep...@bugs.python.org>
<http://bugs.python.org/issue22200>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to