It's important to remember that this wasn't in the U.S. and happened in 2005, when Yahoo's public policy with regard to cooperation with authorities wasn't under scrutiny, and therefore, a lot more complicit than today. The cost of complicity was quite a bit worse and even Yahoo acknowledged that fact.
Also, don't keep logs or ask for any signup information besides authentication credentials in the first place.
But alas, we really shouldn't expect web services to work against the status quo, as corporations are mere extensions of government and wish to identify, track, and datamine people similarly. After all, there's a reason we view a webmail address as an indicator of an uncaring noob.
Also the message leaked by Shi was just a guideline sent by the Department of Propaganda to all the newspapers/media companies. It is nothing similar to the Manning case.