Of course, sometimes I still type:
D.get(key, None)
since I forget that dict.get and getattr() have different behavior in the case of missing keys/attributes...