Re:Show HN: cataclysm v0.1 – the final Python module?
by thorax on Saturday April 01, 2023 @08:36AM
(#35399786)
Ah, really curious if it'll balk at the age old problem or just answer based on the code provided since it does inspect the nearby code to understand context for the generated code.
I'll have to try that when I get back to my desk!
``` from cataclysm import doom
def mystery_func(): while True: pass
# predict if specified function halts print(doom.does_it_halt(mystery_func)) ```