On Aug 17, 2:14 am, Chris Angelico <ros...@gmail.com> wrote: > On Tue, Aug 16, 2011 at 12:33 PM, Paul Wray <paul.w...@det.nsw.edu.au> wrote: > > The idea is simply to use python ASTs to transform this code so that it > > accumulates the values of the bare expressions. > > That'd be similar to what the interactive loop does. Are you aware, > though, that docstrings are bare expressions? You may have a syntactic > collision there. > > ChrisA
Thanks yes ama aware of docstrings but did not consider. They are easy to strip out though. -- http://mail.python.org/mailman/listinfo/python-list