Adi Bhutani Adi Bhutani - 4 months ago 6x
Python Question

map(eval, raw_input().split()) less secure?

Referring to this stackoverflow question a comment by "phoris" states that

map(eval, raw_input().split())
is less secure. Can somebody explain how is is it less secure and in what context?


Any context. It puts user input through eval(), which is a gaping wide security hole.