| route-pattern | /:user_id/:repository/pull/:id/commits/:range(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:f7d91799-8fa8-6fe9-81c1-56c76e6dcb5b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 804C:2483D2:4A9B1F8:6385696:69959955 |
| html-safe-nonce | dcba3563b1494ffaa055d7d063888cbba00df5823fe32c5c55de621d4445b9b5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDRDOjI0ODNEMjo0QTlCMUY4OjYzODU2OTY6Njk5NTk5NTUiLCJ2aXNpdG9yX2lkIjoiNDc0MTExOTA5ODc5NjQ4MDg1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9c8ff71d7d81e0232b20f09e161c1686a4dc6b7047f111fc76e665fa10d5db11 |
| hovercard-subject-tag | pull_request:831927247 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/30900/commits/3416713dd4c885c942f342190ca103ade254eb25 |
| twitter:image | https://avatars.githubusercontent.com/u/1318438?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1318438?s=400&v=4 |
| og:image:alt | This Pull Requests suggests a change to typing._eval_type() that considers strings in PEP 585 generics (ie. instances of types.GenericAlias) as forward references. This is necessary because Forward... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4bd759bc5f83244e2a0de29b937365905c0fefd238b6f077c24a49830375b4df |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6de0b4814d356b3d1ba4b5c6f757c6d4b967559b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/30900/commits/3416713dd4c885c942f342190ca103ade254eb25#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F30900%2Fcommits%2F3416713dd4c885c942f342190ca103ade254eb25 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F30900%2Fcommits%2F3416713dd4c885c942f342190ca103ade254eb25 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/30900/commits/3416713dd4c885c942f342190ca103ade254eb25 |
| Reload | https://github.com/python/cpython/pull/30900/commits/3416713dd4c885c942f342190ca103ade254eb25 |
| Reload | https://github.com/python/cpython/pull/30900/commits/3416713dd4c885c942f342190ca103ade254eb25 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/30900/commits/3416713dd4c885c942f342190ca103ade254eb25 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.5k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
0
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| gvanrossum | https://github.com/gvanrossum |
| python:main | https://github.com/python/cpython/tree/main |
|
Conversation
17
| https://github.com/python/cpython/pull/30900 |
|
Commits
10
| https://github.com/python/cpython/pull/30900/commits |
|
Checks
0
| https://github.com/python/cpython/pull/30900/checks |
|
Files changed
| https://github.com/python/cpython/pull/30900/files |
| Please reload this page | https://github.com/python/cpython/pull/30900/commits/3416713dd4c885c942f342190ca103ade254eb25 |
|
bpo-41370: Evaluate strings as forward refs in PEP 585 generics
| https://github.com/python/cpython/pull/30900/commits/3416713dd4c885c942f342190ca103ade254eb25#top |
|
Show all changes
10 commits
| https://github.com/python/cpython/pull/30900/files |
|
e820e3a
convert strings in PEP 585 generic aliases (`types.GenericAlias`) to …
NiklasRosenstein Jan 25, 2022
| https://github.com/python/cpython/pull/30900/commits/e820e3a776ac25cc5ba371b7f5bed78755eba64f |
|
d7f57c7
add unittest for new get_type_hints() behaviour on PEP 585 generics w…
NiklasRosenstein Jan 25, 2022
| https://github.com/python/cpython/pull/30900/commits/d7f57c7eb10ce94e9b6d32bbab92277e22420d8b |
|
26ab740
add unit test for `from __future__ import annotations`
NiklasRosenstein Jan 27, 2022
| https://github.com/python/cpython/pull/30900/commits/26ab74013e8274457724eba1a9e83a98a719176d |
|
a04bd5d
add test for recursive type
NiklasRosenstein Jan 27, 2022
| https://github.com/python/cpython/pull/30900/commits/a04bd5d8867f71f0ba2497a0ef65f8d8b8833959 |
|
3416713
📜🤖 Added by blurb_it.
blurb-it[bot] Jan 27, 2022
| https://github.com/python/cpython/pull/30900/commits/3416713dd4c885c942f342190ca103ade254eb25 |
|
30a3564
Double backticks because RST.
NiklasRosenstein Jan 27, 2022
| https://github.com/python/cpython/pull/30900/commits/30a3564f176bb1b1c0a2931fc78fe25ad9f88710 |
|
13a3505
Update Lib/typing.py
NiklasRosenstein Jan 27, 2022
| https://github.com/python/cpython/pull/30900/commits/13a350520b239da22a4e4f5d33da407ba70589f5 |
|
33d286a
Update Misc/NEWS.d/next/Library/2022-01-27-11-54-16.bpo-41370.gYxCPE.rst
NiklasRosenstein Jan 27, 2022
| https://github.com/python/cpython/pull/30900/commits/33d286a3728b234dd89485e81da8a1daaa5f00a9 |
|
6cd96b1
Merge branch 'main' into issue41370
NiklasRosenstein Feb 22, 2022
| https://github.com/python/cpython/pull/30900/commits/6cd96b17663c2b32d4f04a4de92e7deaa91ce2b5 |
|
39c5b06
Replace assertIs with assertEqual in test_get_type_hints_annotated
NiklasRosenstein Mar 3, 2022
| https://github.com/python/cpython/pull/30900/commits/39c5b0641acb8ab55a09712bb5a65075c7e9ccd6 |
|
Clear filters
| https://github.com/python/cpython/pull/30900/commits/3416713dd4c885c942f342190ca103ade254eb25 |
| Please reload this page | https://github.com/python/cpython/pull/30900/commits/3416713dd4c885c942f342190ca103ade254eb25 |
| Please reload this page | https://github.com/python/cpython/pull/30900/commits/3416713dd4c885c942f342190ca103ade254eb25 |
|
Prev
| https://github.com/python/cpython/pull/30900/commits/a04bd5d8867f71f0ba2497a0ef65f8d8b8833959 |
|
Next
| https://github.com/python/cpython/pull/30900/commits/30a3564f176bb1b1c0a2931fc78fe25ad9f88710 |
| Please reload this page | https://github.com/python/cpython/pull/30900/commits/3416713dd4c885c942f342190ca103ade254eb25 |
|
| https://github.com/apps/blurb-it |
| blurb-it[bot] | https://github.com/python/cpython/commits?author=blurb-it%5Bbot%5D |
| Misc/NEWS.d/next/Library/2022-01-27-11-54-16.bpo-41370.gYxCPE.rst | https://github.com/python/cpython/pull/30900/commits/3416713dd4c885c942f342190ca103ade254eb25#diff-f26c70358c3a485b307d1b2f3bb7bef7065ad3a0a0a33d862c9744d3ec94f1ac |
|
View file
| https://github.com/python/cpython/blob/3416713dd4c885c942f342190ca103ade254eb25/Misc/NEWS.d/next/Library/2022-01-27-11-54-16.bpo-41370.gYxCPE.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/30900/commits/{{ revealButtonHref }} |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |