Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

SystemError when passing invalid argument to posix_spawn #143698

Closed
Assignees
picnixz
Labels
extension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error
@donbarbos

Description

@donbarbos

Bug report

Bug description:

Seemsos.posix_spawn uses new-style argument parsing withkwtuple in a vectorcall function, which can trigger aSystemError instead of aTypeError for invalid keyword-only argument.

Tested on Ubuntu 22.04:

>>>importos>>>os.posix_spawn("/bin/echo", ["echo","hi"],os.environ,scheduler=None)Traceback (mostrecentcalllast):File"<python-input-1>",line1,in<module>os.posix_spawn("/bin/echo", ["echo","hi"],os.environ,scheduler=None)~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^SystemError:newstylegetargsformatbutargumentisnotatuple

CPython versions tested on:

CPython main branch, 3.9

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

Labels

extension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2026 Movatter.jp