Hi, 

I am trying to debug my waf build scripts, works fine with Python 2.7, but with 3.2 I get an error right at the beginning:

pydev debugger: starting
Traceback (most recent call last):
  File "/Applications/eclipse/plugins/org.python.pydev.debug_1.6.5.2011020317/pysrc/pydevd.py", line 1133, in <module>
    debugger.run(setup['file'], None, None)
  File "/Applications/eclipse/plugins/org.python.pydev.debug_1.6.5.2011020317/pysrc/pydevd.py", line 918, in run
    execfile(file, globals, locals) #execute the script
  File "/Applications/eclipse/plugins/org.python.pydev.debug_1.6.5.2011020317/pysrc/_pydev_execfile.py", line 26, in execfile
    stream = open(file, encoding=encoding)
TypeError: open() argument 4 must be str or None, not bytes

The waf script is encoded as ISO-8859-1 (rename the file linked to above to waf.py and the error should reproduce). Any suggestions? 

Thanks, 
Hans-Martin



MacOS 10.6

Eclipse IDE for C/C++ Developers
Version: Helios Service Release 2
Build id: 20110301-1815

PyDev 1.6.5.2011020317