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 vstinner
Recipients doko, dstufft, eric.araujo, ncoghlan, serhiy.storchaka, steve.dower, vstinner, xtreak
Date 2018-09-26.12:54:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537966445.01.0.545547206417.issue34806@psf.upfronthosting.co.za>
In-reply-to
Content
> well, it was top of the branch yesterday

Hum, I don't understand because we don't have the same line number:

  File "/usr/lib/python3.7/distutils/log.py", line 34, in _log
    stream.write('%s\n' % msg)

$ git show bbdf8723324e31675f298dd273733cc13e1518df:Lib/distutils/log.py|gvim -

(...)
            try:
                stream.write('%s\n' % msg)
            except UnicodeEncodeError:
                # emulate backslashreplace error handler
                encoding = stream.encoding   # <~~~ line 34
                msg = msg.encode(encoding, "backslashreplace").decode(encoding)
                stream.write('%s\n' % msg)
History
Date User Action Args
2018-09-26 12:54:05vstinnersetrecipients: + vstinner, doko, ncoghlan, eric.araujo, serhiy.storchaka, steve.dower, dstufft, xtreak
2018-09-26 12:54:05vstinnersetmessageid: <1537966445.01.0.545547206417.issue34806@psf.upfronthosting.co.za>
2018-09-26 12:54:05vstinnerlinkissue34806 messages
2018-09-26 12:54:04vstinnercreate