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 Jan Niklas Hasse, Sworddragon, abarry, akira, barry, ezio.melotti, lemburg, methane, ncoghlan, ned.deily, r.david.murray, ronaldoussoren, vstinner, xdegaye, yan12125
Date 2017-06-13.09:17:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It seems like this change:

     def test_forced_io_encoding(self):
         # Checks forced configuration of embedded interpreter IO streams
-        out, err = self.run_embedded_interpreter("forced_io_encoding")
-        if support.verbose:
+        env = {"PYTHONIOENCODING": "utf-8:surrogateescape"}
+        out, err = self.run_embedded_interpreter("forced_io_encoding", env=env)

Caused a failure on the "shared" buildbot (./configure --enable-shared):

FAIL: test_forced_io_encoding (test.test_capi.EmbeddingTests)
Traceback (most recent call last):
  File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/", line 484, in test_forced_io_encoding
    out, err = self.run_embedded_interpreter("forced_io_encoding", env=env)
  File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/", line 392, in run_embedded_interpreter
    (p.returncode, err))
AssertionError: 127 != 0 : bad returncode 127, stderr is '/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Programs/_testembed: error while loading shared libraries: cannot open shared object file: No such file or directory\n'
Date User Action Args
2017-06-13 09:17:54vstinnersetrecipients: + vstinner, lemburg, barry, ronaldoussoren, ncoghlan, ned.deily, ezio.melotti, r.david.murray, methane, akira, Sworddragon, xdegaye, yan12125, abarry, Jan Niklas Hasse
2017-06-13 09:17:54vstinnersetmessageid: <>
2017-06-13 09:17:54vstinnerlinkissue28180 messages
2017-06-13 09:17:53vstinnercreate