Up here in Ottawa (Canada) my attic temps (at the peak of the roof) is about 55-60 C (130-140F) on sunny days. Outside temperature is not the real factor. Sun is the real killer. If you can shade the roof from the sun, the temperatures will drop. Trees don't grow fast enough!
That said, I am not so worried about summer time anyway (this summer has been cold & rainy) but winter time I just have to make sure the attic is vented to keep out the moisture (old house with no vapor barrier).
My attic was hovering around 0C (32F) during the winter which was not good. Now that I have ventilation, it is more like the average outside temp (-10C). No sun heating in the winter due to the snow.