GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — `types.UnionType` + `Literal` types are not tested together · Issue #103746 · python/cpython

types.UnionType + Literal types are not tested together #103746

New issue
Copy link
New issue
Copy link
Closed
#103772
Closed
types.UnionType + Literal types are not tested together#103746
#103772
Copy link
Assignees
sobolevn
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtopic-typingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@sobolevn
sobolevn
opened on Apr 24, 2023
Issue body actions

Literal had some known problems when used with typing.Union and types.UnionType.
Example: #103592

I've covered typing.Union, see #103706
But, I forgot about types.UnionType.

So, I will add this new test as a part of this issue.

Linked PRs

  • gh-103746: Test types.UnionType and Literal types together #103747
  • [3.11] gh-103746: Test types.UnionType and Literal types together (GH-103747) #103772

Activity

  1. sobolevn
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    testsTests in the Lib/test dirTests in the Lib/test dir
    topic-typing
    on Apr 24, 2023
  2. sobolevn
    self-assigned this
    on Apr 24, 2023
  3. sobolevn
    added a commit that references this issue on Apr 24, 2023

    pythongh-103746: Test `types.UnionType` and `Literal` types together

    bd2f61c
  4. AlexWaygood
    added a commit that references this issue on Apr 24, 2023

    gh-103746: Test `types.UnionType` and `Literal` types together (#103747)

    3d29eda
  5. miss-islington
    added a commit that references this issue on Apr 24, 2023

    pythongh-103746: Test `types.UnionType` and `Literal` types together (p…

    29cdc51
  6. AlexWaygood
    linked a pull request that will close this issue[3.11] gh-103746: Test `types.UnionType` and `Literal` types together (GH-103747) #103772on Apr 24, 2023
  7. AlexWaygood
    added a commit that references this issue on Apr 24, 2023

    [3.11] gh-103746: Test `types.UnionType` and `Literal` types together (…

    e0e1bee
  8. AlexWaygood
    closed this as completedon Apr 24, 2023
  9. carljm
    added 2 commits that reference this issue on Apr 24, 2023

    Merge branch 'main' into superopt

    19b8025

    Merge branch 'superopt' into superopt_spec

    1972ca4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @sobolevn
    sobolevn

Labels

testsTests in the Lib/test dirTests in the Lib/test dirtopic-typingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.