[issue28815] test_socket fails if /proc/modules is existent but not readable

2017-01-07 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue28815] test_socket fails if /proc/modules is existent but not readable

2017-01-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5a417e160b34 by Martin Panter in branch '3.5': Issue #28815: Use new exception subclasses https://hg.python.org/cpython/rev/5a417e160b34 New changeset 401e70317976 by Martin Panter in branch '3.6': Issue #28815: Merge test tweak from 3.5 https://hg.

[issue28815] test_socket fails if /proc/modules is existent but not readable

2016-12-31 Thread patrila
patrila added the comment: @Martin Panter: Thanks for your support and merging. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue28815] test_socket fails if /proc/modules is existent but not readable

2016-12-24 Thread Martin Panter
Martin Panter added the comment: That would be possible in Python 3, not Python 2 though. -- ___ Python tracker ___ ___ Python-bugs-li

[issue28815] test_socket fails if /proc/modules is existent but not readable

2016-12-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Wouldn't be more pythonic to catch (FileNotFoundError, IsADirectoryError, PermissionError) instead of checking errno? -- nosy: +serhiy.storchaka ___ Python tracker _

[issue28815] test_socket fails if /proc/modules is existent but not readable

2016-12-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7889d7a771c7 by Martin Panter in branch '3.5': Issue #28815: Skip TIPC tests if /proc/modules is not readable https://hg.python.org/cpython/rev/7889d7a771c7 New changeset 48b9d9cdfe3b by Martin Panter in branch '3.6': Issue #28815: Merge test_socket

[issue28815] test_socket fails if /proc/modules is existent but not readable

2016-12-10 Thread patrila
patrila added the comment: Oops, sorry that was the draft version of the patch. Attached the correct version. It was tested against "default" branch (but not against 2.7). -- Added file: http://bugs.python.org/file45834/test_socket_isTipcAvailable_proc_modules.patch __

[issue28815] test_socket fails if /proc/modules is existent but not readable

2016-11-30 Thread Martin Panter
Martin Panter added the comment: This seems reasonable in general. Did you test this exact patch Patrila? It looks to me like you need to change ENOENT → errno.ENOENT, etc. -- components: +Tests nosy: +martin.panter stage: -> patch review type: -> behavior versions: -Python 3.3, Pyt

[issue28815] test_socket fails if /proc/modules is existent but not readable

2016-11-27 Thread patrila
New submission from patrila: Dear Python developers The test_socket test fails if /proc/modules is existent but not readable by the user (this is for example the case with the grsecurity patchset of the kernel). The method reading /proc/modules is isTipcAvailable(), which is not a test but a