[issue28684] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2017-11-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: New changeset 5742f674f7561dc9a1fc66d650e18e31b941183b by xdegaye in branch 'master': bpo-28684: Remove useless import added by the previous commit (GH-4547) https://github.com/python/cpython/commit/5742f674f7561dc9a1fc66d650e18e31b941183b

[issue28684] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2017-11-24 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +4477 ___ Python tracker ___ ___

[issue28684] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2017-11-24 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue28684] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2017-11-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: New changeset 0f86cd38f4a38f25a4aed3759a654a4b7fa49031 by xdegaye in branch 'master': bpo-28684: asyncio tests handle PermissionError raised on binding unix sockets (GH-4503)

[issue28684] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2017-11-24 Thread Xavier de Gaye
Change by Xavier de Gaye : -- versions: -Python 3.6 ___ Python tracker ___ ___

[issue28684] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2017-11-22 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +4441 ___ Python tracker ___ ___

[issue28684] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2016-11-17 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: -giampaolo.rodola ___ Python tracker ___ ___

[issue28684] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2016-11-17 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___

[issue28684] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2016-11-17 Thread Xavier de Gaye
Xavier de Gaye added the comment: With this patch, test_asyncio runs successfully with no ResourceWarning when run on the android-24 emulator. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file45518/test_asyncio_bind.patch

[issue28684] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2016-11-14 Thread STINNER Victor
STINNER Victor added the comment: I suggest to write a decorator in Lib/asyncio/test_utils.py to skip AF_UNIX tests on Android if os.getuid() != 0. Another approach is to catch the PermissionError and re-raises an unittest.SkipTest. Begin by modifying unix_socket_path() context manager in

[issue28684] [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user

2016-11-13 Thread Xavier de Gaye
New submission from Xavier de Gaye: Tests in test_asyncio fail on Android when bind() on a unix socket raises PermissionError for a non-root user. See the attached test_asyncio.log. See also issue 28683 and its patch(es). -- components: Tests, asyncio files: test_asyncio.log messages: