On Mon, 11 Oct 2010 11:18:37 -0700, Chris Rebert wrote: >> What is correct way to use this function? > > To not use it in the first place if at all possible (use int(), > float(), getattr(), etc. instead,
Use read(). Oh wait, Python doesn't have that. Because parsing literals and executing code are like totally the same thing. -- http://mail.python.org/mailman/listinfo/python-list