compile.py does not work on WinNT system

Tim Peters tim_one at email.msn.com
Wed Oct 6 01:24:01 EDT 1999


[Berthold Hoellmann]
> I try to port a little extension module I've written to WinNT. I thought
> it would be a good idea to use compile.py from
> http://starship.python.net:9673/crew/da/Code/compile/, but all I get
> running "python compile.py" is:
> ...
>   File "compile.py", line 755, in __init__
>     print getattr(self, 'noexport', None)
> TypeError: getattr requires exactly 2 arguments; 3 given
>
> What's going wrong here?

Which version of Python are you running?  3-argument getattr is new in
1.5.2.

upgrade-or-die<wink>-ly y'rs  - tim






More information about the Python-list mailing list