David Bremner <[EMAIL PROTECTED]> writes:

> I attach two patches. The first is a one-liner against the previous
> patched version (applies offset one line against todays CVS) the
> second is the combination of the patch I sent before, and my
> braino-fix.

Thanks, at least shell headers appear to work this time.

>       x-answer python="6*7"

Did you try something other than manipulating integers?  eval() doesn't
seem to do what we need in this context -- even a simple 'print'
statement doesn't work.

Python 2.3.3 (#1, Feb 14 2004, 15:06:00) 
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> field = str(eval('6*6'))
>>> field
'36'
>>> field = str(eval('print'))
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "<string>", line 1
    print
       ^
SyntaxError: unexpected EOF while parsing
>>> 
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to