[issue30342] [2.7] sysconfig.is_python_build() doesn't work if Python is built with VS 2008

2017-05-12 Thread STINNER Victor

STINNER Victor added the comment:

I tested manually my change: it fixes the issue ;-)

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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30342] [2.7] sysconfig.is_python_build() doesn't work if Python is built with VS 2008

2017-05-12 Thread STINNER Victor

STINNER Victor added the comment:


New changeset f2e894cfd9b6f5d6aacc276476262d481203030c by Victor Stinner in 
branch '2.7':
bpo-30342: Fix sysconfig.is_python_build() on VS9.0 (#1544)
https://github.com/python/cpython/commit/f2e894cfd9b6f5d6aacc276476262d481203030c


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30342] [2.7] sysconfig.is_python_build() doesn't work if Python is built with VS 2008

2017-05-11 Thread STINNER Victor

Changes by STINNER Victor :


--
pull_requests: +1643

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30342] [2.7] sysconfig.is_python_build() doesn't work if Python is built with VS 2008

2017-05-11 Thread STINNER Victor

STINNER Victor added the comment:

See also bpo-30313: Tests of Python 2.7 VS9.0 buildbots must be run with -uall 
-rwW options.

The PR also contains a fix for test_regrtest, see: 
http://bugs.python.org/issue30283#msg293476

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30342] [2.7] sysconfig.is_python_build() doesn't work if Python is built with VS 2008

2017-05-11 Thread STINNER Victor

New submission from STINNER Victor:

When Python 2.7 is compiled by VS 2008 using PC/VS9.0/ solution, the executable 
is PC/VS9.0/{amd64,x86}/python(_d).exe. sysconfig.is_python_build() handles 
PC/VS7.1/ and PCbuild/ builds, but not PC/VS9.0/ builds.

Attached PR fixes is_python_build() for VS 2008.

--
components: Build, Library (Lib), Windows
messages: 293485
nosy: haypo, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: [2.7] sysconfig.is_python_build() doesn't work if Python is built with 
VS 2008
versions: Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com