René's URL Explorer Experiment


Title: bpo-32873: Treat type variables and special typing forms as immutable by copy and pickle by ilevkivskyi · Pull Request #6216 · python/cpython · GitHub

Open Graph Title: bpo-32873: Treat type variables and special typing forms as immutable by copy and pickle by ilevkivskyi · Pull Request #6216 · python/cpython

X Title: bpo-32873: Treat type variables and special typing forms as immutable by copy and pickle by ilevkivskyi · Pull Request #6216 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/python/cpython/pull/6216

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:aa9458e9-e9d8-0d3e-7ee3-0745dd004ebc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAF74:1C4EB2:16D1DA:1E286A:6A4D292E
html-safe-noncefff2c141b3dc74cb30cc3f0cbde926238402049ec1d8942ca38175cdcabba858
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjc0OjFDNEVCMjoxNkQxREE6MUUyODZBOjZBNEQyOTJFIiwidmlzaXRvcl9pZCI6IjQ3ODQwNjU0MDg4MDkxMTc5OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac84b52c7d2ba68f52bf23fe8a04e3103dc5a5c4ff3f68527eae740c7c8e6ded0c
hovercard-subject-tagpull_request:177256151
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/6216/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a832c080fd5179ac9707a642aead42852e7f621454aa0c2f3fd376a34f018095/python/cpython/pull/6216
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a832c080fd5179ac9707a642aead42852e7f621454aa0c2f3fd376a34f018095/python/cpython/pull/6216
og:image:altThis 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameilevkivskyi
hostnamegithub.com
expected-hostnamegithub.com
None92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release93f17a978ee60bc4668e1d7b90e6bd2d622261fd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://github.com/python/cpython/pull/6216
Reloadhttps://github.com/python/cpython/pull/6216
Reloadhttps://github.com/python/cpython/pull/6216
Please reload this pagehttps://github.com/python/cpython/pull/6216
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://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
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/cpython/tree/master
ilevkivskyi:fix-pickling-and-eqhttps://github.com/ilevkivskyi/cpython/tree/fix-pickling-and-eq
Conversationhttps://github.com/python/cpython/pull/6216
Commits5 (5)https://github.com/python/cpython/pull/6216/commits
Checkshttps://github.com/python/cpython/pull/6216/checks
Files changedhttps://github.com/python/cpython/pull/6216/files
bpo-32873: Treat type variables and special typing forms as immutable by copy and picklehttps://github.com/python/cpython/pull/6216#top
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/cpython/tree/master
ilevkivskyi:fix-pickling-and-eqhttps://github.com/ilevkivskyi/cpython/tree/fix-pickling-and-eq
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Mar 24, 2018https://github.com/python/cpython/pull/6216#issue-308294501
Please reload this pagehttps://github.com/python/cpython/pull/6216
python/typing#512https://github.com/python/typing/issues/512
python/typing#511https://github.com/python/typing/issues/511
https://bugs.python.org/issue32873https://bugs.python.org/issue32873
Please reload this pagehttps://github.com/python/cpython/pull/6216
March 24, 2018 19:36https://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
5932a32https://github.com/python/cpython/pull/6216/commits/5932a3224b65d11d0671e5b34a4a3c11efeccb5d
Add NEWS entryhttps://github.com/python/cpython/pull/6216/commits/277b49048f251c658a0b3f2df8d4ef7198645790
277b490https://github.com/python/cpython/pull/6216/commits/277b49048f251c658a0b3f2df8d4ef7198645790
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
gvanrossumhttps://github.com/gvanrossum
code ownerhttps://github.com/python/cpython/blob/4ca0739c9d97ac7cd45499e0d31be68dc659d0e1/.github/CODEOWNERS#L64
March 24, 2018 20:02https://github.com/python/cpython/pull/6216#event-1539340497
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Mar 24, 2018https://github.com/python/cpython/pull/6216#event-1539340508
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://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, 2018https://github.com/python/cpython/pull/6216#event-1539340509
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
serhiy-storchakahttps://github.com/serhiy-storchaka
March 24, 2018 20:02https://github.com/python/cpython/pull/6216#event-1539340553
https://github.com/ilevkivskyi
ilevkivskyihttps://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, 2018https://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
e915739https://github.com/python/cpython/pull/6216/commits/e9157394030b4cdb07e4cda0bb57b5f52f120c90
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Mar 25, 2018https://github.com/python/cpython/pull/6216#issuecomment-375957044
@gvanrossumhttps://github.com/gvanrossum
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/6216
https://github.com/gvanrossum
gvanrossumhttps://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
gvanrossumhttps://github.com/gvanrossum
https://github.com/python/cpython/pull/6216#pullrequestreview-106976592
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/6216
Lib/test/test_typing.pyhttps://github.com/python/cpython/pull/6216/files/e9157394030b4cdb07e4cda0bb57b5f52f120c90#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d
gvanrossumhttps://github.com/gvanrossum
Mar 26, 2018https://github.com/python/cpython/pull/6216#discussion_r177152679
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/6216
Lib/typing.pyhttps://github.com/python/cpython/pull/6216/files/e9157394030b4cdb07e4cda0bb57b5f52f120c90#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
gvanrossumhttps://github.com/gvanrossum
Mar 26, 2018https://github.com/python/cpython/pull/6216#discussion_r177157093
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/6216
https://github.com/ned-deily
ned-deilyhttps://github.com/ned-deily
Mar 26, 2018https://github.com/python/cpython/pull/6216#issuecomment-376241106
Please reload this pagehttps://github.com/python/cpython/pull/6216
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Mar 26, 2018https://github.com/python/cpython/pull/6216#issuecomment-376264402
@gvanrossumhttps://github.com/gvanrossum
@ned-deilyhttps://github.com/ned-deily
Please reload this pagehttps://github.com/python/cpython/pull/6216
March 26, 2018 22:33https://github.com/python/cpython/pull/6216#commits-pushed-44321a4
Addres review commentshttps://github.com/python/cpython/pull/6216/commits/44321a45161210dafa1c3d9415ff1b5ca9d75111
44321a4https://github.com/python/cpython/pull/6216/commits/44321a45161210dafa1c3d9415ff1b5ca9d75111
Fix a typo in testhttps://github.com/python/cpython/pull/6216/commits/68333359cb17c8d1e8ededfd83624aa79c184d8b
6833335https://github.com/python/cpython/pull/6216/commits/68333359cb17c8d1e8ededfd83624aa79c184d8b
https://github.com/gvanrossum
gvanrossumhttps://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
gvanrossumhttps://github.com/gvanrossum
https://github.com/python/cpython/pull/6216#pullrequestreview-107088360
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/6216
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
8349403https://github.com/python/cpython/commit/834940375ae88bc95794226dd8eff1f25fba1cf9
Mar 26, 2018https://github.com/python/cpython/pull/6216#event-1541953622
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Mar 26, 2018https://github.com/python/cpython/pull/6216#issuecomment-376326249
@ilevkivskyihttps://github.com/ilevkivskyi
Please reload this pagehttps://github.com/python/cpython/pull/6216
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Mar 26, 2018https://github.com/python/cpython/pull/6216#event-1541953688
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
March 26, 2018 22:01https://github.com/python/cpython/pull/6216#event-1541953721
https://github.com/bedevere-bot
bedevere-bothttps://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, 2018https://github.com/python/cpython/pull/6216#event-1541955674
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Mar 26, 2018https://github.com/python/cpython/pull/6216#issuecomment-376326582
GH-6264https://github.com/python/cpython/pull/6264
3.7 branchhttps://github.com/python/cpython/tree/3.7
Please reload this pagehttps://github.com/python/cpython/pull/6216
miss-islingtonhttps://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
ac4534fhttps://github.com/miss-islington/cpython/commit/ac4534fbd55d1becdf256281667c0c1d0696d015
pythonGH-6216https://github.com/python/cpython/pull/6216
python/typingGH-512https://github.com/python/typing/issues/512
python/typingGH-511https://github.com/python/typing/issues/511
https://bugs.python.org/issue32873https://bugs.python.org/issue32873
8349403https://github.com/miss-islington/cpython/commit/834940375ae88bc95794226dd8eff1f25fba1cf9
miss-islingtonhttps://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-32873https://bugs.python.org/issue?@action=redirect&bpo=32873
: Treat type variables and special typing forms as immutable…https://github.com/python/cpython/commit/d0e04c82448c750d4dc27f2bddeddea74bd353ff
d0e04c8https://github.com/python/cpython/commit/d0e04c82448c750d4dc27f2bddeddea74bd353ff
GH-6216https://github.com/python/cpython/pull/6216
python/typingGH-512https://github.com/python/typing/issues/512
python/typingGH-511https://github.com/python/typing/issues/511
https://bugs.python.org/issue32873https://bugs.python.org/issue32873
8349403https://github.com/python/cpython/commit/834940375ae88bc95794226dd8eff1f25fba1cf9
https://github.com/hunterhector
hunterhectorhttps://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 freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://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
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.