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.

作者 vstinner
收信人 Jan Niklas Hasse, abarry, akira, barry, deleted250130, ezio.melotti, lemburg, methane, ncoghlan, ned.deily, r.david.murray, ronaldoussoren, vstinner, xdegaye, yan12125
日期 2017-06-13.09:17:53
SpamBayes Score -1.0
Marked as misclassified
Message-id <1497345474.17.0.0551892260313.issue28180@psf.upfronthosting.co.za>
In-reply-to
内容
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):

http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/877/steps/test/logs/stdio

======================================================================
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/test_capi.py", 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/test_capi.py", 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: libpython3.7dm.so.1.0: cannot open shared object file: No such file or directory\n'
历史
日期 用户 动作 参数
2017-06-13 09:17:54vstinner修改recipients: + vstinner, lemburg, barry, ronaldoussoren, ncoghlan, ned.deily, ezio.melotti, r.david.murray, methane, akira, deleted250130, xdegaye, yan12125, abarry, Jan Niklas Hasse
2017-06-13 09:17:54vstinner修改messageid: <1497345474.17.0.0551892260313.issue28180@psf.upfronthosting.co.za>
2017-06-13 09:17:54vstinner链接issue28180 messages
2017-06-13 09:17:53vstinner创建