I am sending this email to make sure people are aware of a possible build problem they might come up against that is unique to Python 3.0 and how to deal with it.<br><br>I decided to do a ``make distclean`` and rebuild my p3yk checkout.&nbsp; But I came across the error of::
<br><br>&nbsp; File &quot;./Parser/asdl_c.py&quot;, line 744<br>&nbsp;&nbsp;&nbsp; print(auto_gen_msg, file=f)<br><br>Oops.&nbsp; Turns out the Makefile executes &#39;python&#39; which is 2.4.3 on my machine; joys of bootstrapping the build process with Python.&nbsp; After touching Include/Python-
ast.h and Parser/Python-ast.h I got p3yk to build.&nbsp; But to make sure I had the newest auto-generated files I touched Parser/asdl.py and got the same error.&nbsp; Oops again.<br><br>So, I took my clean build of Py3K in my checkout and basically did what the Makefile wanted to do, just with the proper Python version::
<br><br>&nbsp; ./python.exe Parser/asdl_c.py -h Include Parser/Python.asdl<br>&nbsp; ./python.exe Parser/asdl_c.py -c Python Parser/Python.asdl<br><br>This all came about because I am reviewing Tony Lownds&#39; patch for PEP 3113 which touches both the grammar and the AST.&nbsp; I had to run the above statements in the separate checkout I have for this patch using my pristine copy of the p3yk branch.&nbsp; Then, after a ``make clean`` the thing built properly.
<br><br>Hopefully this won&#39;t be a problem with source distributions of Python or else there might be a flurry of emails and such about this error when people really start trying to use Python 3.0.<br><br>-Brett<br>