Use new attribute syntax in python files in src/etc too (#13478)
auto merge of #13493 : Manishearth/rust/newattr-everywhere, r=alexcrichton

See #13478