[Python-3000] getting compiler package failures (original) (raw)
Jeremy Hylton jeremy at alum.mit.edu
Mon May 14 20:58:05 CEST 2007
- Previous message: [Python-3000] getting compiler package failures
- Next message: [Python-3000] getting compiler package failures
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 5/13/07, Guido van Rossum <guido at python.org> wrote:
testcompiler and testtransformer have been broken for a couple of months now I believe.
Unless someone comes to the rescue of the compiler package soon, I'm tempted to remove it from the p3yk branch -- it doesn't seem to serve any particularly good purpose, especially now that the AST used by the compiler written in C is exportable.
We currently lack the ability to take an AST exported by the Python-C compiler and pass it back to the compiler to generate bytecode. It would be a lot more practical, however, to add this ability than to try to maintain two different compilers.
So a qualified +1 from me.
Jeremy
--Guido On 5/13/07, Brett Cannon <brett at python.org> wrote: > I just did a
make distclean
on a clean checkout (r55300) and > testcompiler/testtransformer are failing: > > File > "/Users/drifty/Dev/python/3.x/pristine/Lib/compiler/transformer.py", > line 715, in atom > return self.atomdispatchnodelist[0][0] > KeyError: 322 > > or > > File > "/Users/drifty/Dev/python/3.x/pristine/Lib/compiler/transformer.py", > line 776, in lookupnode > return self.dispatch[node[0]] > KeyError: 331 > > or > > File > "/Users/drifty/Dev/python/3.x/pristine/Lib/compiler/transformer.py", > line 783, in comnode > return self.dispatchnode[0] > KeyError: 339 > > > I don't know the compiler package at all (which is why I am currently stuck > on Tony Lownds' PEP 3113 patch since I am getting a > compiler.transformer.WalkerError) so I have no clue how to > go about fixing this. Anyone happen to know what may have caused the > breakage? > > -Brett > _> ________________________ > Python-3000 mailing list > Python-3000 at python.org > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mailman/options/python-3000/guido%40python.org > >-- --Guido van Rossum (home page: http://www.python.org/~guido/)
Python-3000 mailing list Python-3000 at python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/jeremy%40alum.mit.edu
- Previous message: [Python-3000] getting compiler package failures
- Next message: [Python-3000] getting compiler package failures
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]