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 — Add get_overloads() by JelleZijlstra · Pull Request #1140 · python/typing

Conversation

@JelleZijlstra

@JelleZijlstra JelleZijlstra commented Apr 16, 2022

Copy link
Copy Markdown
Member

I just merged python/cpython#31716 to provide these functions in 3.11.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
JelleZijlstra added 4 commits April 16, 2022 09:27
@JelleZijlstra
Add get_overloads()
de68224
@JelleZijlstra
lint
5c37d11
@JelleZijlstra
more lint
9697f5b
@JelleZijlstra
lint the tests
80da2ea
AlexWaygood
AlexWaygood reviewed Apr 16, 2022
View reviewed changes
Comment thread typing_extensions/README.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

@JelleZijlstra @AlexWaygood
Update typing_extensions/README.rst
b517994
Co-authored-by: Alex Waygood <[email protected]>
AlexWaygood
AlexWaygood approved these changes Apr 16, 2022
View reviewed changes

@AlexWaygood AlexWaygood left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@JelleZijlstra
JelleZijlstra merged commit 35dff91 into python:master Apr 16, 2022
@JelleZijlstra
JelleZijlstra deleted the getoverloads branch April 16, 2022 17:11
@JelleZijlstra JelleZijlstra mentioned this pull request Apr 16, 2022
Support typing_extensions.overload python/mypy#12602
Merged
JelleZijlstra added a commit to JelleZijlstra/mypy that referenced this pull request Apr 16, 2022
@JelleZijlstra
Support typing_extensions.overload
4c3be15
This always existed, but was an alias for typing.overload. With
python/typing#1140, it will actually make a difference at runtime
which one you use.
hauntsaninja pushed a commit to python/mypy that referenced this pull request Apr 16, 2022
@JelleZijlstra
Support typing_extensions.overload (#12602)
0df8cf5
This always existed in typing_extensions, but was an alias for
typing.overload. With python/typing#1140, it will actually make
a difference at runtime which one you use.

Note that this shouldn't change mypy's behaviour, since
we alias typing_extensions.overload to typing.overload
in typeshed, but this makes the logic less fragile.
@TeamSpen210 TeamSpen210 mentioned this pull request Apr 16, 2022
[Feature Request] Support typing.get_overloads() under Python ≥ 3.11 beartype/beartype#54
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@AlexWaygood AlexWaygood AlexWaygood approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@JelleZijlstra @AlexWaygood
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — 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.