[issue22200] Remove distutils checks for Python version

2014-09-07 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
resolution:  - fixed
stage:  - resolved
status: open - closed

___
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



[issue22200] Remove distutils checks for Python version

2014-09-06 Thread Thomas Kluyver

Thomas Kluyver added the comment:

I've made a patch removing some more of these version checks in issue 22349.

--

___
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



[issue22200] Remove distutils checks for Python version

2014-08-26 Thread Thomas Kluyver

Thomas Kluyver added the comment:

I spotted a few others as well. When I get a bit less busy in a couple of weeks 
time, I intend to go through and make a bigger patch to clean things up.

--

___
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



[issue22200] Remove distutils checks for Python version

2014-08-23 Thread Arfrever Frehtes Taifersar Arahesis

Arfrever Frehtes Taifersar Arahesis added the comment:

There are other checks:


Lib/distutils/command/build_ext.py:

# this keeps compatibility from 2.3 to 2.5
if sys.version  2.6:
USER_BASE = None
HAS_USER_SITE = False
else:
from site import USER_BASE
HAS_USER_SITE = True



Lib/distutils/msvccompiler.py and Lib/distutils/msvc9compiler.py:

def get_build_version():
Return the version of MSVC that was used to build Python.

For Python 2.3 and up, the version number is included in
sys.version.  For earlier versions, assume the compiler is MSVC 6.

...
if i == -1:
return 6


Lib/distutils/tests/test_build_ext.py:

class BuildExtTestCase(TempdirManager,
   LoggingSilencer,
   unittest.TestCase):
def setUp(self):
...
if sys.version  2.6:
...
def tearDown(self):
...
if sys.version  2.6:

--
nosy: +Arfrever
resolution: fixed - 
stage: resolved - 
status: closed - open
versions: +Python 3.4

___
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



[issue22200] Remove distutils checks for Python version

2014-08-23 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:


--
nosy: +benjamin.peterson

___
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



[issue22200] Remove distutils checks for Python version

2014-08-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset fbb51251eb9d by Benjamin Peterson in branch '3.4':
remove 2.2 and 2.6 compat code (closes #22200)
http://hg.python.org/cpython/rev/fbb51251eb9d

New changeset 66c7f30fe8c7 by Benjamin Peterson in branch 'default':
merge 3.4 (closes #22200)
http://hg.python.org/cpython/rev/66c7f30fe8c7

--
nosy: +python-dev
resolution:  - fixed
stage: patch review - resolved
status: open - closed

___
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



[issue22200] Remove distutils checks for Python version

2014-08-15 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
stage:  - patch review
type:  - enhancement
versions: +Python 3.5

___
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



[issue22200] Remove distutils checks for Python version

2014-08-14 Thread Thomas Kluyver

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



[issue22200] Remove distutils checks for Python version

2014-08-14 Thread Aaron Meurer

Changes by Aaron Meurer asmeu...@gmail.com:


--
nosy: +Aaron.Meurer

___
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