]> granicus.if.org Git - python/commit
Message.getaddrlist(): Use the AddressList.addresslist attribute
authorBarry Warsaw <barry@python.org>
Tue, 21 May 2002 19:46:13 +0000 (19:46 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 21 May 2002 19:46:13 +0000 (19:46 +0000)
commit0a8d4d5736c8cceda74e7134a6ff446fbee1d5cc
treea4398880090f36d335aceb320098fb563c656b6d
parent6cf09f0792df49527cda241743a34c3555a83835
Message.getaddrlist(): Use the AddressList.addresslist attribute
instead of calling the getaddrlist() method, since the latter doesn't
work with multiple calls (it will return the empty list for the second
and subsequent calls).

Closes SF bug #555035.  Include a unittest.
Lib/rfc822.py
Lib/test/test_rfc822.py