<br><br><div><span class="gmail_quote">On 5/14/07, <b class="gmail_sendername">Guido van Rossum</b> <<a href="mailto:guido@python.org">guido@python.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
OK Brett, let 'er rip.</blockquote><div><br>Ripped in revision 55322.<br><br>-Brett<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 5/14/07, Jeremy Hylton <<a href="mailto:jeremy@alum.mit.edu">jeremy@alum.mit.edu</a>> wrote:<br>> On 5/13/07, Guido van Rossum <<a href="mailto:guido@python.org">guido@python.org</a>> wrote:<br>> > test_compiler and test_transformer have been broken for a couple of
<br>> > months now I believe.<br>> ><br>> > Unless someone comes to the rescue of the compiler package soon, I'm<br>> > tempted to remove it from the p3yk branch -- it doesn't seem to serve
<br>> > any particularly good purpose, especially now that the AST used by the<br>> > compiler written in C is exportable.<br>><br>> We currently lack the ability to take an AST exported by the Python-C<br>
> compiler and pass it back to the compiler to generate bytecode. It<br>> would be a lot more practical, however, to add this ability than to<br>> try to maintain two different compilers.<br>><br>> So a qualified +1 from me.
<br>><br>> Jeremy<br>><br>> ><br>> > --Guido<br>> ><br>> > On 5/13/07, Brett Cannon <<a href="mailto:brett@python.org">brett@python.org</a>> wrote:<br>> > > I just did a ``make distclean`` on a clean checkout (r55300) and
<br>> > > test_compiler/test_transformer are failing:<br>> > ><br>> > > File<br>> > > "/Users/drifty/Dev/python/3.x/pristine/Lib/compiler/transformer.py",<br>> > > line 715, in atom
<br>> > > return self._atom_dispatch[nodelist[0][0]](nodelist)<br>> > > KeyError: 322<br>> > ><br>> > > or<br>> > ><br>> > > File<br>> > > "/Users/drifty/Dev/python/3.x/pristine/Lib/compiler/transformer.py",
<br>> > > line 776, in lookup_node<br>> > > return self._dispatch[node[0]]<br>> > > KeyError: 331<br>> > ><br>> > > or<br>> > ><br>> > > File<br>> > > "/Users/drifty/Dev/python/3.x/pristine/Lib/compiler/transformer.py",
<br>> > > line 783, in com_node<br>> > > return self._dispatch[node[0]](node[1:])<br>> > > KeyError: 339<br>> > ><br>> > ><br>> > > I don't know the compiler package at all (which is why I am currently
<br>> > stuck<br>> > > on Tony Lownds' PEP 3113 patch since I am getting a<br>> > > compiler.transformer.WalkerError) so I have no clue how to<br>> > > go about fixing this. Anyone happen to know what may have caused the
<br>> > > breakage?<br>> > ><br>> > > -Brett<br>> > ><br>> > > _______________________________________________<br>> > > Python-3000 mailing list<br>> > > <a href="mailto:Python-3000@python.org">
Python-3000@python.org</a><br>> > > <a href="http://mail.python.org/mailman/listinfo/python-3000">http://mail.python.org/mailman/listinfo/python-3000</a><br>> > > Unsubscribe:<br>> > > <a href="http://mail.python.org/mailman/options/python-3000/guido%40python.org">
http://mail.python.org/mailman/options/python-3000/guido%40python.org</a><br>> > ><br>> > ><br>> ><br>> ><br>> > --<br>> > --Guido van Rossum (home page: <a href="http://www.python.org/~guido/">
http://www.python.org/~guido/</a>)<br>> > _______________________________________________<br>> > Python-3000 mailing list<br>> > <a href="mailto:Python-3000@python.org">Python-3000@python.org</a><br>> >
<a href="http://mail.python.org/mailman/listinfo/python-3000">http://mail.python.org/mailman/listinfo/python-3000</a><br>> > Unsubscribe:<br>> > <a href="http://mail.python.org/mailman/options/python-3000/jeremy%40alum.mit.edu">
http://mail.python.org/mailman/options/python-3000/jeremy%40alum.mit.edu</a><br>> ><br>><br><br><br>--<br>--Guido van Rossum (home page: <a href="http://www.python.org/~guido/">http://www.python.org/~guido/</a>)<br>
</blockquote></div><br>