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.
Created on 2013年04月16日 11:14 by doko, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (5) | |||
|---|---|---|---|
| msg187070 - (view) | Author: Matthias Klose (doko) * (Python committer) | Date: 2013年04月16日 11:14 | |
this test assumes LANG=C LC_ALL=C test.test_ctypes (unittest.loader.LoadTestsFailure) ... ERROR ====================================================================== ERROR: test.test_ctypes (unittest.loader.LoadTestsFailure) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.3/test/test_ctypes.py", line 11, in load_tests skipped, testcases = ctypes.test.get_tests(ctypes.test, "test_*.py", verbosity=0) File "/usr/lib/python3.3/ctypes/test/__init__.py", line 64, in get_tests mod = __import__(modname, globals(), locals(), ['*']) File "/usr/lib/python3.3/ctypes/test/test_find.py", line 17, in <module> lib_gle = find_library("gle") File "/usr/lib/python3.3/ctypes/util.py", line 242, in find_library return _findSoname_ldconfig(name) or _get_soname(_findLib_gcc(name)) File "/usr/lib/python3.3/ctypes/util.py", line 99, in _findLib_gcc trace = f.read() File "/usr/lib/python3.3/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 471: ordinal not in range(128) |
|||
| msg187071 - (view) | Author: Matthias Klose (doko) * (Python committer) | Date: 2013年04月16日 11:16 | |
hmm, looks more an issue in ctypes/util.py. _findLib_gcc should set the environment explicitly as already done in _findSoname_ldconfig. |
|||
| msg189282 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年05月15日 13:48 | |
New changeset 4f594f9b296a by doko in branch '2.7': - Issue #17754: Make ctypes.util.find_library() independent of the locale. http://hg.python.org/cpython/rev/4f594f9b296a |
|||
| msg189286 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年05月15日 16:05 | |
New changeset d6a43a99aea3 by doko in branch '3.3': - Issue #17754: Make ctypes.util.find_library() independent of the locale. http://hg.python.org/cpython/rev/d6a43a99aea3 New changeset 9a44f12df844 by doko in branch 'default': - Issue #17754: Make ctypes.util.find_library() independent of the locale. http://hg.python.org/cpython/rev/9a44f12df844 |
|||
| msg189287 - (view) | Author: Matthias Klose (doko) * (Python committer) | Date: 2013年05月15日 16:09 | |
fixed in 2.7, 3.3 and trunk |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:44 | admin | set | github: 61954 |
| 2013年05月15日 16:09:17 | doko | set | status: open -> closed resolution: fixed messages: + msg189287 stage: needs patch -> resolved |
| 2013年05月15日 16:05:03 | python-dev | set | messages: + msg189286 |
| 2013年05月15日 13:48:05 | python-dev | set | nosy:
+ python-dev messages: + msg189282 |
| 2013年04月16日 11:16:36 | doko | set | components: + ctypes, - Tests |
| 2013年04月16日 11:16:12 | doko | set | messages:
+ msg187071 versions: + Python 2.7 |
| 2013年04月16日 11:14:49 | doko | link | issue17750 dependencies |
| 2013年04月16日 11:14:31 | doko | create | |