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 2016年11月10日 23:17 by xdegaye, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| catch_PermissionError.patch | xdegaye, 2016年11月10日 23:17 | review | ||
| Messages (3) | |||
|---|---|---|---|
| msg280551 - (view) | Author: Xavier de Gaye (xdegaye) * (Python triager) | Date: 2016年11月10日 23:17 | |
This is yet another idiosyncrasy of Android, the /sbin directory is in the $PATH of the adb shell used for running the tests on the emulator or on a device connected with usb to the build platform, and /sbin is readable and searchable only by root. For a plain user, the loop over exec_array[] in child_exec() at _posixsubprocess.c sets saved_errno to EACCES after failing to exec /sbin/some_non_existent_program. The patch fixes these failing tests on Android API 24: test_dtrace test_shutil test_subprocess. |
|||
| msg280565 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2016年11月11日 07:26 | |
LGTM. |
|||
| msg280788 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2016年11月14日 16:16 | |
New changeset 1b2b2cb8f962 by Xavier de Gaye in branch '3.6': Issue #28662: Catch PermissionError in tests when spawning a non existent program https://hg.python.org/cpython/rev/1b2b2cb8f962 New changeset c3f7d81d9050 by Xavier de Gaye in branch 'default': Issue #28662: Merge 3.6 https://hg.python.org/cpython/rev/c3f7d81d9050 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:39 | admin | set | github: 72848 |
| 2016年11月14日 16:17:38 | xdegaye | set | status: open -> closed resolution: fixed stage: commit review -> resolved |
| 2016年11月14日 16:16:17 | python-dev | set | nosy:
+ python-dev messages: + msg280788 |
| 2016年11月12日 11:38:54 | xdegaye | link | issue26865 dependencies |
| 2016年11月11日 07:26:34 | serhiy.storchaka | set | nosy:
+ serhiy.storchaka messages: + msg280565 assignee: xdegaye stage: patch review -> commit review |
| 2016年11月10日 23:17:51 | xdegaye | create | |