Use eval() safely?

Steven D'Aprano steven at
Thu Feb 25 02:06:16 CET 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 


More information about the Python-list mailing list