This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author SegundoBob
Recipients SegundoBob, barry, r.david.murray
Date 2015-09-28.18:19:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443464392.64.0.380133301442.issue25257@psf.upfronthosting.co.za>
In-reply-to
Content
In my function makeMsg(), there is:

    msg = email.mime.nonmultipart.MIMENonMultipart('text',
        'plain', charset='utf-8')
    msg['Subject'] = email.header.Header(subject, 'utf-8')

subject has no space after the thousands comma:

u'1,010 words - "The Blackmail Caucus, a.k.a. the Republican Party" By Paul Krugman'


But

msg['Subject'].__str__()

'1, 010 words - "The Blackmail Caucus,\n a.k.a. the Republican Party" By Paul Krugman'

has a space after the thousands comma and the email message later generated has a space after the thousands comma.

This is objectionable.

Note that the email library also inserts a newline after the comma that is followed by a space.  Since I see no effect of this newline on the email generated, I have no objection to the newline.
History
Date User Action Args
2015-09-28 18:19:52SegundoBobsetrecipients: + SegundoBob, barry, r.david.murray
2015-09-28 18:19:52SegundoBobsetmessageid: <1443464392.64.0.380133301442.issue25257@psf.upfronthosting.co.za>
2015-09-28 18:19:52SegundoBoblinkissue25257 messages
2015-09-28 18:19:52SegundoBobcreate