News for hackers. Stuff that matters.
Re:The programmers who live in Flatland by evdubs on Sunday December 07, 2025 @04:45PM (#46185489)
I am not so sure how it works, but you can define your own evaluation handler for `eval` which, I assume, can be as restrictive as you need if you're dealing with untrusted data.
Re:The programmers who live in Flatland by bccdee on Sunday December 07, 2025 @05:27PM (#46185923)
Seems simpler just to use `json.load`.