>>>>> "Fredrik" == Fredrik Lundh <[EMAIL PROTECTED]> writes:

> Ganesan Rajagopal wrote:
>>> unicodeStrFromNetwork = '\u5927'
>>> unicodeStrNative = _unicodeRe(unisub, unicodeStrFromNetwork)
>> 
>> How about unicodeStrNative = eval("u'%s'" % (unicodeStrFromNetwork,))

> unicodeStrFromNetwork = "' + str(__import__('os').system('really bad idea')) 
> + '"

Thanks for the warning. I should really know better! *blush* 

Ganesan

-- 
Ganesan Rajagopal (rganesan at debian.org) | GPG Key: 1024D/5D8C12EA
Web: http://employees.org/~rganesan        | http://rganesan.blogspot.com


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to