Use eval() safely?

Steven D'Aprano steven at REMOVE.THIS.cybersource.com.au
Wed Feb 24 20:06:16 EST 2010


On Wed, 24 Feb 2010 10:11:25 +0100, Dieter Maurer wrote:

> Using functionality introduced with the class/type homogenization, it is
> quite easy to get access to the "file" type (even when "__builtins__" is
> disabled). Having "file", arbitrary files can be read, written,
> destroyed...

Not that I don't believe you (I do!) but could you demonstrate for the 
record?



-- 
Steven



More information about the Python-list mailing list