Last I heard, the heatwave will abate by then. Good for you! I've spent time in some crazy hot places, but 40 degrees C in Shanghai is something else. I sweat in places I didn't know you could sweat.

The only solution: don't walk anywhere, even one block. Of course, this is ridiculous and impossible.