8000 Type annotations using typing._SpecialForm are not displayed well with the HEAD of 3.10 · Issue #9490 · sphinx-doc/sphinx · GitHub
[go: up one dir, main page]

Skip to content
Type annotations using typing._SpecialForm are not displayed well with the HEAD of 3.10 #9490
@tk0miya

Description

@tk0miya

Describe the bug

Recently, the implementation of typing._SpecialForm was changed on the HEAD of 3.10 (refs: python/cpython#27246). After this change, autodoc can't process type aliases built by typing._SpecialForm well.

Note: this breaks our CI. So it should be fixed on 4.1.2.

How to Reproduce

assert stringify(Annotated[str, "foo", "bar"]) == "str"

Expected behavior

No response

Your project

N/A

Screenshots

No response

OS

Linux

Python version

HEAD of 3.10

Sphinx version

4.1.x

Sphinx extensions

No response

Extra tools

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0