Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #12832
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Issues when reading mailboxes from alioth-lists.debian.net |
| Date | 2020-08-19 20:10 +0200 |
| Message-ID | <AFAH7-649-5@gated-at.bofh.it> (permalink) |
| References | <AFw0P-3fr-21@gated-at.bofh.it> <AFAH7-649-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Aug 19, 2020 at 10:31:55PM +0530, Nilesh Patra wrote:
>
> For me the error goes way for me when I change line 781 in /usr/lib/python3.8/mailbox.py
> to:
>
> msg.set_from(from_line[5:].decode('utf-8'))
>
> May be this is a minor feature enhancement since at the moment messages with unicodes don't seem to be decoded.
> Or there's an API change which I'm not aware of.
>
> Either way this should act like a temorary fix for now. Let me know if this doesn't seem right.
BTW, its a regression compared to Python2. When calling the
python2 test_mbox.py
everything works.
Kind regards
Andreas.
--
http://fam-tille.de
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Issues when reading mailboxes from alioth-lists.debian.net Andreas Tille <andreas@an3as.eu> - 2020-08-19 15:10 +0200 Re: Issues when reading mailboxes from alioth-lists.debian.net Andreas Tille <andreas@an3as.eu> - 2020-08-19 20:10 +0200
csiph-web