Closed d6962455-ef8d-4321-8f67-2a37ab9f2e5a closed 3 years ago
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
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
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields: ```python assignee = None closed_at =
created_at =
labels = ['type-feature', 'library', '3.10']
title = 'os.set_blocking() raises OSError on VxWorks RTOS'
updated_at =
user = 'https://github.com/pxinwr'
```
bugs.python.org fields:
```python
activity =
actor = 'vstinner'
assignee = 'none'
closed = True
closed_date =
closer = 'vstinner'
components = ['Library (Lib)']
creation =
creator = 'pxinwr'
dependencies = []
files = []
hgrepos = []
issue_num = 41462
keywords = ['patch']
message_count = 2.0
messages = ['374732', '382683']
nosy_count = 2.0
nosy_names = ['vstinner', 'pxinwr']
pr_nums = ['21713']
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue41462'
versions = ['Python 3.10']
```