AddrlistClass.getaddress(): when parsing `:'s, in the loop, watch out for gotonext() pushing self.pos past the end of the string.  This can happen if the message has a To field like "To: :" and you call msg.getaddrlist('to').
AddrlistClass.getaddress(): when parsing `:'s, in the loop, watch out
for gotonext() pushing self.pos past the end of the string.  This can
happen if the message has a To field like "To: :" and you call
msg.getaddrlist('to').

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator