On 8 Nov 2018 17:34, Avi Gross <[email protected]> wrote:

> What can you do to minimize risks in such > situations?

ast.literal_eval, with a smallish maximum string length? 
https://docs.python.org/3/library/ast.html.

(That's exactly the only ast function that know! :-)
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to