classification
Title: os.set_blocking() raises OSError on VxWorks RTOS
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.10
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: pxinwr, vstinner
Priority: normal Keywords: patch

Created on 2020-08-03 09:53 by pxinwr, last changed 2020-12-07 21:53 by vstinner. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 21713 merged pxinwr, 2020-08-03 10:10
Messages (2)
msg374732 - (view) Author: Peixing Xin (pxinwr) * Date: 2020-08-03 09:53
os.set_blocking() always raise OSError exception on VxWorks RTOS. See below for details.

[vxWorks *]# python3 -m unittest -v test.test_os.BlockingTests.test_blocking
Launching process 'python3' ...
Process 'python3' (process Id = 0x405808010) launched.
test_blocking (test.test_os.BlockingTests) ... ERROR

======================================================================
ERROR: test_blocking (test.test_os.BlockingTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.8/test/test_os.py", line 3640, in test_blocking
    os.set_blocking(fd, False)
OSError: [Errno 35] not supported
msg382683 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2020-12-07 20:41
New changeset 06afac6c5740bb81d2b7ab9639d2b08cccf77d33 by pxinwr in branch 'master':
bpo-41462: Add os.set_blocking() support for VxWorks RTOS (GH-21713)
https://github.com/python/cpython/commit/06afac6c5740bb81d2b7ab9639d2b08cccf77d33
History
Date User Action Args
2020-12-07 21:53:49vstinnersetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2020-12-07 20:41:40vstinnersetnosy: + vstinner
messages: + msg382683
2020-08-03 10:10:13pxinwrsetkeywords: + patch
stage: patch review
pull_requests: + pull_request20857
2020-08-03 09:53:47pxinwrcreate