Usage of ast.

Chris Angelico rosuav at gmail.com
Mon Feb 27 20:16:52 EST 2017


On Tue, Feb 28, 2017 at 11:35 AM, Jon Ribbens <jon+usenet at unequivocal.eu> wrote:
> Sorry, I must have missed something here. What are you talking about?
> "lambda: [1,2,3]" is not acceptable input to ast.literal_eval(), it
> will throw an exception.

[1,2,3] is, though. Go read my previous posts.

ChrisA



More information about the Python-list mailing list