> all far beyond even basic error-*catching*, much less *handling*!
should our everyone-learns goals for writing distributed Code include a form of retries?
me, the wheel i reinvented this morning is
r = requests_get_after_some_sleeps(address, sleeps=(0, 0, 60))
for me this says to try for the first time after 0 sleep, quit if happy else try a second time after 0 sleep, quit if happy else sleep for 60s and then try a third time, quit if happy else forget about it, give up, let that last unhandled Exception raise you out of here no matter if it's the same or different than the others
i'm then strongly feeling like i should've been taught this form of speech - but i sure wasn't
got thoughts?