Author martin.panter
Recipients koobs, martin.panter, vstinner
Date 2017-11-25.02:51:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1511578314.65.0.213398074469.issue19613@psf.upfronthosting.co.za>
In-reply-to
Content
Victor opened Issue 32128 with the same complaint. I think I found the offending article:

>>> server = NNTP_SSL("nntp.aioe.org")
>>> [response, count, first, last, name] = server.group("comp.lang.python")
>>> last
199267
>>> pprint(server.article(199265)[1].lines)
[. . .
 b'Date: Fri, 24 Nov 2017 15:44:26 -0800 (PST)',
 . . .
 b'Message-ID: <dcaddc9c-a7b7-4120-bd30-304f58566d3d@googlegroups.com>',
 b'Subject: Re: Python loop and web server (bottle) in the same script (Posting',
 b'     On Python-List Prohibited)',
 . . .
 b'Content-Transfer-Encoding: quoted-printable',
 . . .
 b'If processing is I/O bound and not CPU bound, then asyncio should work fine=',
 b'.']

The body uses Quoted-printable encoding, and the previous line ends with an equals sign “=”, meaning a soft line break. So the full stop is on its own because the encoder didn’t want to fit it on the previous line. This is valid (albeit quirky) encoding, and not a problem with the NNTP library.
History
Date User Action Args
2017-11-25 02:51:54martin.pantersetrecipients: + martin.panter, vstinner, koobs
2017-11-25 02:51:54martin.pantersetmessageid: <1511578314.65.0.213398074469.issue19613@psf.upfronthosting.co.za>
2017-11-25 02:51:54martin.panterlinkissue19613 messages
2017-11-25 02:51:53martin.pantercreate