[Python-Dev] Possible summits at PyCon (and question about sprinting implications)
Over in PyConLand, there has been talk about trying to set up a language summit the day before PyCon starts (the second day of tutorials). The idea is to give the core developers and Python VM implementers a day to sit around and talk about stuff without having to eat into the sprints (I am not leading the organizing of it, so I don't have any exact details beyond various ideas that have leaked over to the program committee mailing list). The idea was then floated about inviting the VM implementers of the big three JavaScript VMs. But then this got re-targeted as possibly a separate summit on Wednesday (first day of tutorials) where the various dynamic language VM implementers could get together and talk. PyCon would essentially act as the hosting site for this and as motivation to maybe get some other VM folks to look at the language and since no business or university would necessarily be interested enough to make this happen. But there is a worry that if people attended one or both of the summits it would cut into people's sprint time. And if any sprint group would be adversely affected by this, the core sprint would be hit the hardest since the attendees of the sprint are the most likely to attend either summit. And so I have been tasked with asking people whether attending the summits would put a crimp in their attendance of the sprints. Please let me know if attending the summits (especially the VM one on Wednesday) would cause you to skip out on the sprints in any way. -Brett ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] Transformation with ``parser`` ast
The ``compiler.ast`` module makes parsing Python source-code and AST manipulation relatively painless and it's straight-forward to implement a transformer class. However, I find that the ``compiler.pycodegen`` module imposes a hard limit on the length of functions since it calculates jump points in a recursion. I'm using this module to compile an XML dynamic template into Python code (akin to "Mako") and functions may grow to a rather large size. Now it seems that the ``parser`` module, which parses source code into ``parser.st`` trees does not have the same limitations, however, I could not find a transformer class compatible with its tree structure. What's the recommended way of working with the AST tree from the ``parser`` module? \malthe ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Transformation with ``parser`` ast
This mailing list is for discussing the design of Python, not its use. The best place to ask your question is comp.lang.python. -Brett On Mon, Oct 13, 2008 at 12:15 PM, Malthe Borch <[EMAIL PROTECTED]> wrote: > The ``compiler.ast`` module makes parsing Python source-code and AST > manipulation relatively painless and it's straight-forward to implement a > transformer class. > > However, I find that the ``compiler.pycodegen`` module imposes a hard limit > on the length of functions since it calculates jump points in a recursion. > > I'm using this module to compile an XML dynamic template into Python code > (akin to "Mako") and functions may grow to a rather large size. > > Now it seems that the ``parser`` module, which parses source code into > ``parser.st`` trees does not have the same limitations, however, I could not > find a transformer class compatible with its tree structure. > > What's the recommended way of working with the AST tree from the ``parser`` > module? > > \malthe > > ___ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailman/options/python-dev/brett%40python.org > ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com