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

incorrect SyntaxError #109120

Closed
Closed
Labels
3.11only security fixes3.12only security fixes3.13bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-parsertype-bugAn unexpected behavior, bug, or error
@mqyhlkahu

Description

@mqyhlkahu

Bug report

Bug description:

The following input will cause aSyntaxError. That's all well and good, but the message for theSyntaxError is incorrect.

f(A,*)
SyntaxError:iterableargumentunpackingfollowskeywordargumentunpacking

This is not correct. That error message is intended for cases like thisf(**kwargs, *args).
This bug is present on3.9,3.10, and3.11. I haven't tested3.12, but I suspect that it is present there as well. The bug is not present on3.8.

CPython versions tested on:

3.8 3.9, 3.10, 3.11

Operating systems tested on:

Linux, Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.11only security fixes3.12only security fixes3.13bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-parsertype-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-2025 Movatter.jp