Adi Bhutani Adi Bhutani - 1 year ago 120
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?

Answer Source

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