Suggestion for "syntax error": ++i, --i

Peter Maas peter.maas at mplusr.de
Mon Dec 13 18:32:01 CET 2004


Christian Ergh schrieb:
> Ah, ok, i misunderstood you. Well, to mark it as a syntax error sounds 
> good, and at the Moment I would not know a case where this conflicts 
> with a implementation.

target = 'a='
sign = '-'
operand = '-2'

exec(target+sign+operand)

-- 
-------------------------------------------------------------------
Peter Maas,  M+R Infosysteme,  D-52070 Aachen,  Tel +49-241-93878-0
E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64')
-------------------------------------------------------------------




More information about the Python-list mailing list