40c is miserable to be in, but it's not really that hot compared to fire or combustion. The record hot day in Phoenix was 50c; miserable but livable w/ precautions.
wet pipe burst temps are between 57c-75c .