Alex Zunegin added the comment:
This messes up building Cython extensions on MSYS2 and MINGW. Still here as of
setuptools 60.
There is no line
```
return [] -
```
at the end. Adding it helps.
--
nosy: +gesserat
___
Python
Terry J. Reedy added the comment:
The claimed bug is that when msc_pos is -1 in the code as posted, 'return []'
should be executed, but None is returned instead. When I add 'msc_pos = -1
before the if statement, and call the function, after adding the needed sys
import, [] is indeed
Changes by Ralf Schmitt sch...@gmail.com:
--
nosy: +schmir
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5043
___
___
Python-bugs-list mailing
Éric Araujo mer...@netwok.org added the comment:
Thanks for explaining.
a) NoneType object is not iterable. If the function don't return empty list
later distutil will fail
Possible fix: self.dll_libraries = get_msvcr() or []
method for detection of a msvc runtime is not correct. If the
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
a) NoneType object is not iterable. If the function don't return empty list
later distutil will fail on the lines like libraries.extend(self.dll_libraries)
b) method for detection of a msvc runtime is not correct. If the method
Éric Araujo mer...@netwok.org added the comment:
Can you explain what the bug is? Thanks in advance.
--
assignee: - eric.araujo
components: +Distutils, Distutils2 -Build
nosy: +eric.araujo
versions: +3rd party, Python 3.1, Python 3.2
___
Python
Luke Kenneth Casson Leighton l...@lkcl.net added the comment:
i'm really sorry, eric, but the decision to ban me from interacting with python
developers for 18 months+ has left me with zero working knowledge of many of
these complex issues which i was heavily and actively involved in at the
New submission from Luke Kenneth Casson Leighton l...@lkcl.net:
def get_msvcr():
Include the appropriate MSVC runtime library if Python was built
with MSVC 7.0 or later.
msc_pos = sys.version.find('MSC v.')
if msc_pos != -1:
msc_ver =
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
My comment on this part of code is( from issue3871):
+# FIXME: next code is from issue870382
+# MS C-runtime libraries never support backward compatibility.
+# Linking to a different library without to specify correct