by spywaregorilla · 4y ago · 0 comments
Great for prod if an error is unnacceptable
(or more realistically, web scraping where you just don't care about one off errors)
It has some ast stuff built in.
@fuckit
def this_is_fine(garbage_in):
x = 1 / 0
return "garbage_out"
this_is_fine("") ### Returns "garbage out"