Unless there's shade I need clothing to stop the sunburn, but if there's shade and cultural support I'll happily go nude or near-nude when it's 40°C or more.
I've cycle toured in the northern bits of Australia with just my eyes showing (I wear glasses... maybe not even eyes). 40°C is not especially warm up there in summer.
40°C in Sydney where I live is getting more common.