Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #12832
| Path | csiph.com!3.eu.feeder.erje.net!feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Andreas Tille <andreas@an3as.eu> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Issues when reading mailboxes from alioth-lists.debian.net |
| Date | Wed, 19 Aug 2020 20:10:01 +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> |
| X-Original-To | debian-python@lists.debian.org |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Wed Aug 19 18:00:05 2020 |
| Old-Return-Path | <andreas@an3as.eu> |
| X-Amavis-Spam-Status | No, score=-7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -4.6 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.10.1 (2018-07-13) |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/18582 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/20200819175949.GA9108@an3as.eu |
| Approved | robomod@news.nic.it |
| Lines | 24 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Wed, 19 Aug 2020 19:59:49 +0200 |
| X-Original-Message-ID | <20200819175949.GA9108@an3as.eu> |
| X-Original-References | <20200819130131.GG7363@an3as.eu> <0f7c90b5-beb6-4387-bd74-55715746b30e@gmail.com> |
| Xref | csiph.com linux.debian.maint.python:12832 |
Show key headers only | View raw
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