Re: completely implicit interpolation based on a frame object (nn)

2010-12-09 Thread Edward Peschko
>> a bit closer here, but I'm not sure if they are >> workable (or usable) with 2.5... which is where I need to work. >> >> Ed > > One of the solutions from here might work for you: > > http://wiki.python.org/moin/Templating > Ok, cool. A couple of followups - I'd be interested in knowing which of

Re: completely implicit interpolation based on a frame object

2010-12-09 Thread nn
On Dec 9, 2:29 am, Edward Peschko wrote: > >> Any ideas would be great on this, including pitfalls that people see > >> in implementing it. > > >http://docs.python.org/library/string.html#template-strings > > > regards > >  Steve > > Steve, > > Thanks for the tip, I did look at templates and decid

Re: completely implicit interpolation based on a frame object

2010-12-08 Thread Edward Peschko
>> Any ideas would be great on this, including pitfalls that people see >> in implementing it. >> > http://docs.python.org/library/string.html#template-strings > > regards >  Steve Steve, Thanks for the tip, I did look at templates and decided that they weren't quite completely what I was looking

Re: completely implicit interpolation based on a frame object

2010-12-07 Thread Steve Holden
On 12/8/2010 2:49 AM, Edward Peschko wrote: > All, > > Ok, it looks like in order to implement a tracer that does > interpolation, I'm going to have to hack around with frames. > > Perl's interpolation is fairly straightforward, to do interpolation of > $a == 1 all you need to do is put quotes ar