FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update ty results for v0.0.35 by charliermarsh · Pull Request #2282 · python/typing · GitHub

/ typing Public

Update ty results for v0.0.35 - #2282

Merged
JelleZijlstra merged 1 commit into
python:mainfrom
charliermarsh:codex/update-ty-results-0.0.35
May 10, 2026
Merged

Update ty results for v0.0.35#2282
JelleZijlstra merged 1 commit into
python:mainfrom
charliermarsh:codex/update-ty-results-0.0.35

Conversation

Copy link
Copy Markdown
Contributor

No description provided.

charliermarsh marked this pull request as ready for review May 10, 2026 19:10

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

We pass all tests here, so I think "Pass" is accurate. However, I might add a notes field that points out that we currently only do the check for non-generic functions. (You'll need to regen the HTML file afterwards -- our conformance will be displayed as "Pass*" in the rendered HTML, and the notes message will display as a tooltip when folks hover over the cell.)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I suspect ty isn't alone in that, type checkers are OK with https://github.com/JelleZijlstra/unsoundness/blob/main/examples/overload/generic_overlap.py#L6-L11 after all (we were just talking about that case on pydis).

AlexWaygood May 10, 2026
edited
Loading

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Right... ty is the only type checker not to complain about this, for example, though:

from typing import overload

@overload
def mixed_generic[T](x: T) -> T: ...
@overload
def mixed_generic(x: int) -> int: ...
def mixed_generic(x: str) -> object:
    return x

Multiplay gist: 10c760796b5da6d1614ec8341c0fc3bc

JelleZijlstra merged commit 81b183c into python:main May 10, 2026
5 checks passed
carljm added a commit to carljm/typing that referenced this pull request May 16, 2026
* main:
  Docs: Fix typo and grammar in type narrowing guide (python#2271)
  Update ty results for v0.0.35 (python#2282)
  Add pycroscope to the conformance suite (python#2278)
  Bump type checkers (python#2279)
  Update ty results for v0.0.33 (python#2275)
  conformance: allow consistent treatment of kwargs: Unpack[TD] (python#2272)
  bump mypy and pyright (python#2274)
  fix pyright version parsing (python#2273)
  Allow type checkers to ignore specific error codes (python#2153)
  Update pyrefly conformance results to v0.62.0 (python#2269)
  add ty to scripts/bump_type_checkers.py (python#2268)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL