i want to exec a test
function many times when it found a exception like this
try:
test()
except:
try:
test()
except:
try:
test()
except Exception,e:
logger.info(e)
this case will when i request a url and get the url response
because the Target web server may response some bad data when you just request once,
it that so many word to do this ,not a pythonic implementation
is there some pythonic style to do this?