Re: [Python-Dev] SoC AST generation question

2007-03-19 Thread Michael Spencer
Brett Cannon wrote: > On 3/19/07, Michael Spencer <[EMAIL PROTECTED]> wrote: ... >>> >> FWIW, I've already implemented bytecode generation from AST, >> http://svn.brownspencer.com/pycompiler/branches/new_ast/ >> as I reported to this list previously. >&

Re: [Python-Dev] SoC AST generation question

2007-03-19 Thread Michael Spencer
dev > Unsubscribe: > http://mail.python.org/mailman/options/python-dev/python-python-dev%40m.gmane.org > FWIW, I've already implemented bytecode generation from AST, http://svn.brownspencer.com/pycompiler/branches/new_ast/ as I reported to this list previously. http://mail.python.or

[Python-Dev] Fwd: Re: ANN compiler2 : Produce bytecode from Python 2.5 AST

2006-10-25 Thread Michael Spencer
ct readme.txt at: http://svn.brownspencer.com/pycompiler/branches/new_ast/readme.txt Code is available in Subversion at http://svn.brownspencer.com/pycompiler/branches/new_ast/ The main test script is test/test_compiler.py which compiles all the modules in /Lib and /Lib/test and com

[Python-Dev] PEP 340: syntax suggestion - try opening(filename) as f:

2005-04-29 Thread Michael Spencer
I don't know whether it's true for all the PEP 340 use cases, but the all the current examples would read very naturally if the block-template could be specified in an extended try statement: 1. A template for ensuring that a lock, acquired at the start of a block, is released when th