Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os.set_blocking() raises OSError on VxWorks RTOS #85634

Closed
pxinwr mannequin opened this issue Aug 3, 2020 · 2 comments
Closed

os.set_blocking() raises OSError on VxWorks RTOS #85634

pxinwr mannequin opened this issue Aug 3, 2020 · 2 comments
Labels
3.10 only security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@pxinwr
Copy link
Mannequin

pxinwr mannequin commented Aug 3, 2020

BPO 41462
Nosy @vstinner, @pxinwr
PRs
  • bpo-41462: add os.set_blocking() support for VxWorks RTOS #21713
  • 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:

    assignee = None
    closed_at = <Date 2020-12-07.21:53:49.149>
    created_at = <Date 2020-08-03.09:53:47.100>
    labels = ['type-feature', 'library', '3.10']
    title = 'os.set_blocking() raises OSError on VxWorks RTOS'
    updated_at = <Date 2020-12-07.21:53:49.148>
    user = 'https://github.com/pxinwr'

    bugs.python.org fields:

    activity = <Date 2020-12-07.21:53:49.148>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-12-07.21:53:49.149>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2020-08-03.09:53:47.100>
    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']

    @pxinwr
    Copy link
    Mannequin Author

    pxinwr mannequin commented Aug 3, 2020

    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

    @pxinwr pxinwr mannequin added 3.10 only security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Aug 3, 2020
    @vstinner
    Copy link
    Member

    vstinner commented Dec 7, 2020

    New changeset 06afac6 by pxinwr in branch 'master':
    bpo-41462: Add os.set_blocking() support for VxWorks RTOS (GH-21713)
    06afac6

    @vstinner vstinner closed this as completed Dec 7, 2020
    @vstinner vstinner closed this as completed Dec 7, 2020
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.10 only security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant