| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:aa9458e9-e9d8-0d3e-7ee3-0745dd004ebc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AF74:1C4EB2:16D1DA:1E286A:6A4D292E |
| html-safe-nonce | fff2c141b3dc74cb30cc3f0cbde926238402049ec1d8942ca38175cdcabba858 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjc0OjFDNEVCMjoxNkQxREE6MUUyODZBOjZBNEQyOTJFIiwidmlzaXRvcl9pZCI6IjQ3ODQwNjU0MDg4MDkxMTc5OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 84b52c7d2ba68f52bf23fe8a04e3103dc5a5c4ff3f68527eae740c7c8e6ded0c |
| hovercard-subject-tag | pull_request:177256151 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/6216/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/a832c080fd5179ac9707a642aead42852e7f621454aa0c2f3fd376a34f018095/python/cpython/pull/6216 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a832c080fd5179ac9707a642aead42852e7f621454aa0c2f3fd376a34f018095/python/cpython/pull/6216 |
| og:image:alt | This also fixes python/typing#512
This also fixes python/typing#511
As was discussed in both issues, some typing forms deserve to be treated as immutable by copy and pickle modules, so that:
copy(X... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ilevkivskyi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-cache |
| 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 | 93f17a978ee60bc4668e1d7b90e6bd2d622261fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/6216#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F6216 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| 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 |
| GitHub Stars | https://stars.github.com |
| 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%2F6216 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/6216 |
| Reload | https://github.com/python/cpython/pull/6216 |
| Reload | https://github.com/python/cpython/pull/6216 |
| Please reload this page | https://github.com/python/cpython/pull/6216 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/6216 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.8k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.6k
| 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.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
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 and quality
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| ilevkivskyi | https://github.com/ilevkivskyi |
| python:master | https://github.com/python/cpython/tree/master |
| ilevkivskyi:fix-pickling-and-eq | https://github.com/ilevkivskyi/cpython/tree/fix-pickling-and-eq |
| Conversation | https://github.com/python/cpython/pull/6216 |
| Commits5 (5) | https://github.com/python/cpython/pull/6216/commits |
| Checks | https://github.com/python/cpython/pull/6216/checks |
| Files changed | https://github.com/python/cpython/pull/6216/files |
| bpo-32873: Treat type variables and special typing forms as immutable by copy and pickle | https://github.com/python/cpython/pull/6216#top |
| ilevkivskyi | https://github.com/ilevkivskyi |
| python:master | https://github.com/python/cpython/tree/master |
| ilevkivskyi:fix-pickling-and-eq | https://github.com/ilevkivskyi/cpython/tree/fix-pickling-and-eq |
|
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Mar 24, 2018 | https://github.com/python/cpython/pull/6216#issue-308294501 |
| Please reload this page | https://github.com/python/cpython/pull/6216 |
| python/typing#512 | https://github.com/python/typing/issues/512 |
| python/typing#511 | https://github.com/python/typing/issues/511 |
| https://bugs.python.org/issue32873 | https://bugs.python.org/issue32873 |
| Please reload this page | https://github.com/python/cpython/pull/6216 |
| March 24, 2018 19:36 | https://github.com/python/cpython/pull/6216#commits-pushed-5932a32 |
| Treat type variables and special typing forms as immputable by copy a… | https://github.com/python/cpython/pull/6216/commits/5932a3224b65d11d0671e5b34a4a3c11efeccb5d |
| 5932a32 | https://github.com/python/cpython/pull/6216/commits/5932a3224b65d11d0671e5b34a4a3c11efeccb5d |
| Add NEWS entry | https://github.com/python/cpython/pull/6216/commits/277b49048f251c658a0b3f2df8d4ef7198645790 |
| 277b490 | https://github.com/python/cpython/pull/6216/commits/277b49048f251c658a0b3f2df8d4ef7198645790 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| gvanrossum | https://github.com/gvanrossum |
| code owner | https://github.com/python/cpython/blob/4ca0739c9d97ac7cd45499e0d31be68dc659d0e1/.github/CODEOWNERS#L64 |
| March 24, 2018 20:02 | https://github.com/python/cpython/pull/6216#event-1539340497 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Mar 24, 2018 | https://github.com/python/cpython/pull/6216#event-1539340508 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Mar 24, 2018 | https://github.com/python/cpython/pull/6216#event-1539340509 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| March 24, 2018 20:02 | https://github.com/python/cpython/pull/6216#event-1539340553 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
|
needs backport to 3.7
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.7%22 |
| Mar 24, 2018 | https://github.com/python/cpython/pull/6216#event-1539340592 |
| Add more samples for pickling subscripted generics (which is now poss… | https://github.com/python/cpython/pull/6216/commits/e9157394030b4cdb07e4cda0bb57b5f52f120c90 |
| e915739 | https://github.com/python/cpython/pull/6216/commits/e9157394030b4cdb07e4cda0bb57b5f52f120c90 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Mar 25, 2018 | https://github.com/python/cpython/pull/6216#issuecomment-375957044 |
| @gvanrossum | https://github.com/gvanrossum |
| @serhiy-storchaka | https://github.com/serhiy-storchaka |
| Please reload this page | https://github.com/python/cpython/pull/6216 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
|
Mar 26, 2018
| https://github.com/python/cpython/pull/6216#pullrequestreview-106976592 |
|
View reviewed changes
| https://github.com/python/cpython/pull/6216/files/e9157394030b4cdb07e4cda0bb57b5f52f120c90 |
| gvanrossum | https://github.com/gvanrossum |
| https://github.com/python/cpython/pull/6216#pullrequestreview-106976592 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/6216 |
| Lib/test/test_typing.py | https://github.com/python/cpython/pull/6216/files/e9157394030b4cdb07e4cda0bb57b5f52f120c90#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d |
| gvanrossum | https://github.com/gvanrossum |
| Mar 26, 2018 | https://github.com/python/cpython/pull/6216#discussion_r177152679 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/6216 |
| Lib/typing.py | https://github.com/python/cpython/pull/6216/files/e9157394030b4cdb07e4cda0bb57b5f52f120c90#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887 |
| gvanrossum | https://github.com/gvanrossum |
| Mar 26, 2018 | https://github.com/python/cpython/pull/6216#discussion_r177157093 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/6216 |
| https://github.com/ned-deily |
| ned-deily | https://github.com/ned-deily |
| Mar 26, 2018 | https://github.com/python/cpython/pull/6216#issuecomment-376241106 |
| Please reload this page | https://github.com/python/cpython/pull/6216 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Mar 26, 2018 | https://github.com/python/cpython/pull/6216#issuecomment-376264402 |
| @gvanrossum | https://github.com/gvanrossum |
| @ned-deily | https://github.com/ned-deily |
| Please reload this page | https://github.com/python/cpython/pull/6216 |
| March 26, 2018 22:33 | https://github.com/python/cpython/pull/6216#commits-pushed-44321a4 |
| Addres review comments | https://github.com/python/cpython/pull/6216/commits/44321a45161210dafa1c3d9415ff1b5ca9d75111 |
| 44321a4 | https://github.com/python/cpython/pull/6216/commits/44321a45161210dafa1c3d9415ff1b5ca9d75111 |
| Fix a typo in test | https://github.com/python/cpython/pull/6216/commits/68333359cb17c8d1e8ededfd83624aa79c184d8b |
| 6833335 | https://github.com/python/cpython/pull/6216/commits/68333359cb17c8d1e8ededfd83624aa79c184d8b |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
|
Mar 26, 2018
| https://github.com/python/cpython/pull/6216#pullrequestreview-107088360 |
|
View reviewed changes
| https://github.com/python/cpython/pull/6216/files/68333359cb17c8d1e8ededfd83624aa79c184d8b |
| gvanrossum | https://github.com/gvanrossum |
| https://github.com/python/cpython/pull/6216#pullrequestreview-107088360 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/6216 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| 8349403 | https://github.com/python/cpython/commit/834940375ae88bc95794226dd8eff1f25fba1cf9 |
| Mar 26, 2018 | https://github.com/python/cpython/pull/6216#event-1541953622 |
| https://github.com/miss-islington |
| miss-islington | https://github.com/miss-islington |
| Mar 26, 2018 | https://github.com/python/cpython/pull/6216#issuecomment-376326249 |
| @ilevkivskyi | https://github.com/ilevkivskyi |
| Please reload this page | https://github.com/python/cpython/pull/6216 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Mar 26, 2018 | https://github.com/python/cpython/pull/6216#event-1541953688 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| March 26, 2018 22:01 | https://github.com/python/cpython/pull/6216#event-1541953721 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
needs backport to 3.7
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.7%22 |
| Mar 26, 2018 | https://github.com/python/cpython/pull/6216#event-1541955674 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Mar 26, 2018 | https://github.com/python/cpython/pull/6216#issuecomment-376326582 |
| GH-6264 | https://github.com/python/cpython/pull/6264 |
| 3.7 branch | https://github.com/python/cpython/tree/3.7 |
| Please reload this page | https://github.com/python/cpython/pull/6216 |
| miss-islington | https://github.com/miss-islington |
|
Mar 26, 2018
| https://github.com/python/cpython/pull/6216#ref-commit-ac4534f |
|
| https://github.com/ilevkivskyi |
|
| https://github.com/miss-islington |
| bpo-32873: Treat type variables and special typing forms as immutable… | https://github.com/miss-islington/cpython/commit/ac4534fbd55d1becdf256281667c0c1d0696d015 |
| ac4534f | https://github.com/miss-islington/cpython/commit/ac4534fbd55d1becdf256281667c0c1d0696d015 |
| pythonGH-6216 | https://github.com/python/cpython/pull/6216 |
| python/typingGH-512 | https://github.com/python/typing/issues/512 |
| python/typingGH-511 | https://github.com/python/typing/issues/511 |
| https://bugs.python.org/issue32873 | https://bugs.python.org/issue32873 |
| 8349403 | https://github.com/miss-islington/cpython/commit/834940375ae88bc95794226dd8eff1f25fba1cf9 |
| miss-islington | https://github.com/miss-islington |
|
Mar 26, 2018
| https://github.com/python/cpython/pull/6216#ref-commit-d0e04c8 |
|
| https://github.com/miss-islington |
|
| https://github.com/ilevkivskyi |
| bpo-32873 | https://bugs.python.org/issue?@action=redirect&bpo=32873 |
| : Treat type variables and special typing forms as immutable… | https://github.com/python/cpython/commit/d0e04c82448c750d4dc27f2bddeddea74bd353ff |
| d0e04c8 | https://github.com/python/cpython/commit/d0e04c82448c750d4dc27f2bddeddea74bd353ff |
| GH-6216 | https://github.com/python/cpython/pull/6216 |
| python/typingGH-512 | https://github.com/python/typing/issues/512 |
| python/typingGH-511 | https://github.com/python/typing/issues/511 |
| https://bugs.python.org/issue32873 | https://bugs.python.org/issue32873 |
| 8349403 | https://github.com/python/cpython/commit/834940375ae88bc95794226dd8eff1f25fba1cf9 |
| https://github.com/hunterhector |
| hunterhector | https://github.com/hunterhector |
|
Sep 11, 2020
| https://github.com/python/cpython/pull/6216#ref-issue-699690291 |
|
Cannot pickle types such as metrics
asyml/texar-pytorch#318
| https://github.com/asyml/texar-pytorch/issues/318 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F6216 |
|
| https://github.com/gvanrossum |
|
gvanrossum
| https://github.com/gvanrossum |
|
| https://github.com/python/cpython/pull/6216/files/68333359cb17c8d1e8ededfd83624aa79c184d8b |
|
| https://github.com/serhiy-storchaka |
|
serhiy-storchaka
| https://github.com/serhiy-storchaka |
|
TypeVar equality broken?
| https://github.com/python/typing/issues/512 |
|
Can't pickle generic types
| https://github.com/python/typing/issues/511 |
| Please reload this page | https://github.com/python/cpython/pull/6216 |
|
| https://github.com/ilevkivskyi |
|
| https://github.com/ned-deily |
|
| https://github.com/miss-islington |
|
| https://github.com/bedevere-bot |
|
| https://github.com/gvanrossum |
|
| https://github.com/the-knights-who-say-ni |
|
| 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 |