[New-bugs-announce] [issue5940] Wrong type check in check_library_list

Cournapeau David report at bugs.python.org
Tue May 5 10:27:49 CEST 2009


New submission from Cournapeau David <david at ar.media.kyoto-u.ac.jp>:

There is a bug in the function check_library_list. Assuming there are
some libraries in the distribution instance, the function checks that
lib[0] is a string, but the test checks exactly the contrary (line 137
of build_clib.py).

This is pretty serious, as any code using libraries will fail to build
on python3. The fix is trivial, though. I think this should be fixed for
python 3.1

----------
assignee: tarek
components: Distutils
messages: 87224
nosy: cdavid, tarek
severity: normal
status: open
title: Wrong type check in check_library_list
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5940>
_______________________________________


More information about the New-bugs-announce mailing list