[issue10752] build_ssl.py is relying on unreliable behaviour of os.popen
Waffle Souffle
report at bugs.python.org
Fri Nov 29 19:24:20 CET 2013
Waffle Souffle added the comment:
Replicated with Perl being discovered as follows:
['C:\\perl\\bin\\perl.exe', 'c:\\cygwin\\bin\\perl.exe', 'c:\\perl\\bin\\perl.exe']
C:\perl\bin\perl.exe is installed from ActivePerl-5.16.3.1603-MSWin32-x86-296746.msi
Attempting to compile Python 2.7.6. Installed Python binary used to run build_openssl.py is Python 2.7.1.
As mentioned the call to the file handle's close returns 1 for every perl installation.
In this version of ActiveState Perl the errorlevel from running Perl with a successful command is 0, and with an unsuccessful command is 2.
perl -e "use Win32;"
echo %ERRORLEVEL%
==> 0
perl -e "use Win32x;"
echo %ERRORLEVEL%
==> 2
----------
nosy: +Waffle.Souffle
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10752>
_______________________________________
More information about the Python-bugs-list
mailing list