[Pyrex] bug in distutils, or a python bug?
Simon Wittber
simonwittber at gmail.com
Tue Feb 22 08:33:11 CET 2005
I've just installed the free MS compiler using the instructions at:
vrplumber.com/programming/mstoolkit/
I've also installed:
http://www.prescod.net/pyximport/
Now for the weird error:
File "c:\python\24\lib\distutils\command\build_ext.py", line 443, in
build_extension
sources = self.swig_sources(sources, ext)
TypeError: swig_sources() takes exactly 2 arguments (3 given)
If you look closely at the above error, you will notice it is a method
call, and therefore, the self argument is passed implicitly.
The method signature contains 3 arguments, and looks like:
def swig_sources (self, sources, extension)
Any idea why this error is occuring? At forst glance, it looks like a
rather nasty python2.4 bug!
Sw.
More information about the Pyrex
mailing list