diff options
author | Barry Warsaw <barry@python.org> | 1999-01-14 19:59:58 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1999-01-14 19:59:58 (GMT) |
commit | 8a578436f493251ae912bc1e1ef09abc38a10316 (patch) | |
tree | dc96776a02dc2bfb5ab2b46bf7b13acd9ab656e2 /Lib/glob.py | |
parent | f8ebb5521d7058fa108e80a40b292416ea5aa5ee (diff) | |
download | cpython-8a578436f493251ae912bc1e1ef09abc38a10316.zip cpython-8a578436f493251ae912bc1e1ef09abc38a10316.tar.gz cpython-8a578436f493251ae912bc1e1ef09abc38a10316.tar.bz2 |
Message.getaddrlist(): This now handles multiple occurances of the
named header, so that if a message has, e.g. multiple CC: lines, all
will get returned by the call to getaddrlist(). It also correctly
handles addresses which show up in continuation lines.
AdderlistClass.__init__(): Added \n to self.CR which fixes a bug that
sometimes, an address would contain a bogus trailing newline.
Message.getaddress(): In final else clause, added a test for the
character we're at being in self.specials. Without this, such
characters never get consumed and we infloop. Case in point (as
posted to c.l.py):
To: <[smtp:dd47@mail.xxx.edu]_at_hmhq@hdq-mdm1-imgout.companay.com>
----------------------------^
otherwise we'd infloop here
Diffstat (limited to 'Lib/glob.py')
0 files changed, 0 insertions, 0 deletions