| 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:a1d8795c-571a-2276-f4b0-256e25a23091 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8E10:36419E:428743:567DC9:696ADFE6 |
| html-safe-nonce | c73494483fdcd405e8cb30994fbdecaa85242ac302d61e03bdcdfaae9908032c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTEwOjM2NDE5RTo0Mjg3NDM6NTY3REM5OjY5NkFERkU2IiwidmlzaXRvcl9pZCI6Ijg2MzIxNTEzODYzOTQxMjQyNjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 426c1e4f94305cead9ea323dbdd78afa8893f29aee7c8192e9603657c40e089f |
| hovercard-subject-tag | pull_request:1518304669 |
| 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/109498/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/6306d40869713ea48a16601b777e3723d66a5bfdc8870ace1c9b1ff1c91c22a4/python/cpython/pull/109498 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6306d40869713ea48a16601b777e3723d66a5bfdc8870ace1c9b1ff1c91c22a4/python/cpython/pull/109498 |
| og:image:alt | In this PR we align the behavior of the copy module with the pickle module. See #93627 and #103035 for more discussion. For example:
import copy
class C(object):
__copy__ = None
x= C()
copy.c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | eendebakpt |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| 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 | 3d84d50b3c75fa36755c3cf392edbc09e626f979 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/109498#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F109498 |
| 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%2F109498 |
|
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/109498 |
| Reload | https://github.com/python/cpython/pull/109498 |
| Reload | https://github.com/python/cpython/pull/109498 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/109498 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| 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
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/109498 |
|
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 |
| Jump to bottom | https://github.com/python/cpython/pull/109498#issue-comment-box |
| eendebakpt | https://github.com/eendebakpt |
| python:main | https://github.com/python/cpython/tree/main |
| eendebakpt:pickle_copy | https://github.com/eendebakpt/cpython/tree/pickle_copy |
|
gh-93627: Align copy module behaviour with pickle module
| https://github.com/python/cpython/pull/109498#top |
| eendebakpt | https://github.com/eendebakpt |
| python:main | https://github.com/python/cpython/tree/main |
| eendebakpt:pickle_copy | https://github.com/eendebakpt/cpython/tree/pickle_copy |
|
Conversation
2
| https://github.com/python/cpython/pull/109498 |
|
Commits
19
| https://github.com/python/cpython/pull/109498/commits |
|
Checks
41
| https://github.com/python/cpython/pull/109498/checks |
|
Files changed
| https://github.com/python/cpython/pull/109498/files |
| Please reload this page | https://github.com/python/cpython/pull/109498 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/eendebakpt |
| eendebakpt | https://github.com/eendebakpt |
| Sep 16, 2023 | https://github.com/python/cpython/pull/109498#issue-1899540794 |
| Please reload this page | https://github.com/python/cpython/pull/109498 |
| #93627 | https://github.com/python/cpython/issues/93627 |
| #103035 | https://github.com/python/cpython/pull/103035 |
| Inconsistency in handling None handlers in the Python and C implementations of pickle #93627 | https://github.com/python/cpython/issues/93627 |
| Please reload this page | https://github.com/python/cpython/pull/109498 |
|
| https://github.com/eendebakpt |
| Align copy module behaviour with pickle module | https://github.com/python/cpython/pull/109498/commits/1535893ec9a0f17c52cc86ff77f4875166b46306 |
| 1535893 | https://github.com/python/cpython/pull/109498/commits/1535893ec9a0f17c52cc86ff77f4875166b46306 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Sep 16, 2023 | https://github.com/python/cpython/pull/109498#event-10390201196 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Sep 16, 2023
| https://github.com/python/cpython/pull/109498#ref-issue-1265576430 |
|
Inconsistency in handling None handlers in the Python and C implementations of pickle
#93627
| https://github.com/python/cpython/issues/93627 |
| blurb-it | https://github.com/apps/blurb-it |
| September 16, 2023 19:19 | https://github.com/python/cpython/pull/109498#commits-pushed-30d6b97 |
|
| https://github.com/apps/blurb-it |
| 📜🤖 Added by blurb_it. | https://github.com/python/cpython/pull/109498/commits/30d6b97c1d132956d8a0cf90d3b12e49143d11db |
| 30d6b97 | https://github.com/python/cpython/pull/109498/commits/30d6b97c1d132956d8a0cf90d3b12e49143d11db |
|
| https://github.com/eendebakpt |
| align behaviour of __replace__ | https://github.com/python/cpython/pull/109498/commits/c97105f0012f7e8380e469e81f25b56322bf50b4 |
| c97105f | https://github.com/python/cpython/pull/109498/commits/c97105f0012f7e8380e469e81f25b56322bf50b4 |
|
| https://github.com/eendebakpt |
| Merge branch 'pickle_copy' of github.com:eendebakpt/cpython into pick… | https://github.com/python/cpython/pull/109498/commits/7da708657293c7fd087e9075ddcb59355da5ba9b |
| 7da7086 | https://github.com/python/cpython/pull/109498/commits/7da708657293c7fd087e9075ddcb59355da5ba9b |
| https://github.com/eendebakpt |
| eendebakpt | https://github.com/eendebakpt |
|
Sep 16, 2023
| https://github.com/python/cpython/pull/109498#ref-pullrequest-1640653407 |
|
gh-93627: Align Python implementation of pickle with C implementation of pickle
#103035
| https://github.com/python/cpython/pull/103035 |
| https://github.com/eendebakpt |
| eendebakpt | https://github.com/eendebakpt |
| Sep 16, 2023 | https://github.com/python/cpython/pull/109498#event-10390226142 |
| eendebakpt | https://github.com/eendebakpt |
| September 25, 2023 22:34 | https://github.com/python/cpython/pull/109498#commits-pushed-e54350f |
|
| https://github.com/eendebakpt |
| Merge branch 'main' into pickle_copy | https://github.com/python/cpython/pull/109498/commits/e54350fe3068d5d9a8640541c4adc394cd375049 |
| e54350f | https://github.com/python/cpython/pull/109498/commits/e54350fe3068d5d9a8640541c4adc394cd375049 |
|
| https://github.com/eendebakpt |
| Merge branch 'main' into pickle_copy | https://github.com/python/cpython/pull/109498/commits/368f99e0526540ae7eb6a8408b98dd6c405572b8 |
| 368f99e | https://github.com/python/cpython/pull/109498/commits/368f99e0526540ae7eb6a8408b98dd6c405572b8 |
| https://github.com/eendebakpt |
| eendebakpt | https://github.com/eendebakpt |
|
Oct 4, 2023
| https://github.com/python/cpython/pull/109498#ref-pullrequest-1206190292 |
|
gh-72793: C implementation of parts of copy.deepcopy
#91610
| https://github.com/python/cpython/pull/91610 |
| eendebakpt | https://github.com/eendebakpt |
| October 4, 2023 20:32 | https://github.com/python/cpython/pull/109498#commits-pushed-6d31123 |
|
| https://github.com/eendebakpt |
| Merge branch 'main' into pickle_copy | https://github.com/python/cpython/pull/109498/commits/6d311231af84c555f509a9f11512886dc797c008 |
| 6d31123 | https://github.com/python/cpython/pull/109498/commits/6d311231af84c555f509a9f11512886dc797c008 |
|
| https://github.com/eendebakpt |
| Merge branch 'main' into pickle_copy | https://github.com/python/cpython/pull/109498/commits/35046a4f313cd7014a1da6e3dd450f1e7f7a73de |
| 35046a4 | https://github.com/python/cpython/pull/109498/commits/35046a4f313cd7014a1da6e3dd450f1e7f7a73de |
|
| https://github.com/eendebakpt |
| Merge branch 'main' into pickle_copy | https://github.com/python/cpython/pull/109498/commits/817077f0cf0e0ef558a313aac25bb897be955169 |
| 817077f | https://github.com/python/cpython/pull/109498/commits/817077f0cf0e0ef558a313aac25bb897be955169 |
|
| https://github.com/eendebakpt |
| Merge branch 'main' into pickle_copy | https://github.com/python/cpython/pull/109498/commits/2396484943198a0c16def8e58d44b9ecc41fdc52 |
| 2396484 | https://github.com/python/cpython/pull/109498/commits/2396484943198a0c16def8e58d44b9ecc41fdc52 |
| https://github.com/eendebakpt |
| eendebakpt | https://github.com/eendebakpt |
| Dec 5, 2023 | https://github.com/python/cpython/pull/109498#issuecomment-1840920630 |
| @serhiy-storchaka | https://github.com/serhiy-storchaka |
| Please reload this page | https://github.com/python/cpython/pull/109498 |
| eendebakpt | https://github.com/eendebakpt |
| December 14, 2023 23:19 | https://github.com/python/cpython/pull/109498#commits-pushed-0b26813 |
|
| https://github.com/eendebakpt |
| Merge branch 'main' into pickle_copy | https://github.com/python/cpython/pull/109498/commits/0b2681363ed007d4604090246da548cac98adfd1 |
| 0b26813 | https://github.com/python/cpython/pull/109498/commits/0b2681363ed007d4604090246da548cac98adfd1 |
|
| https://github.com/eendebakpt |
| Merge branch 'main' into pickle_copy | https://github.com/python/cpython/pull/109498/commits/3aeb31009b828734308955669b2835f7d8e5a155 |
| 3aeb310 | https://github.com/python/cpython/pull/109498/commits/3aeb31009b828734308955669b2835f7d8e5a155 |
|
| https://github.com/eendebakpt |
| Merge branch 'main' into pickle_copy | https://github.com/python/cpython/pull/109498/commits/a924c78a0d6bed8cad14422115300718b2027a74 |
| a924c78 | https://github.com/python/cpython/pull/109498/commits/a924c78a0d6bed8cad14422115300718b2027a74 |
| https://github.com/erlend-aasland |
| erlend-aasland | https://github.com/erlend-aasland |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| April 4, 2024 07:31 | https://github.com/python/cpython/pull/109498#event-12353100455 |
|
| https://github.com/skirpichev |
| Merge branch 'main' into pickle_copy | https://github.com/python/cpython/pull/109498/commits/7b6b57a68f299f496217b0d5edf8ef9b25d98f15 |
| 7b6b57a | https://github.com/python/cpython/pull/109498/commits/7b6b57a68f299f496217b0d5edf8ef9b25d98f15 |
| https://github.com/skirpichev |
| skirpichev | https://github.com/skirpichev |
| Oct 13, 2024 | https://github.com/python/cpython/pull/109498#issuecomment-2408856028 |
| Please reload this page | https://github.com/python/cpython/pull/109498 |
| eendebakpt | https://github.com/eendebakpt |
| December 10, 2024 22:21 | https://github.com/python/cpython/pull/109498#commits-pushed-f481db6 |
|
| https://github.com/eendebakpt |
| Merge branch 'main' into pickle_copy | https://github.com/python/cpython/pull/109498/commits/f481db6cda3428b37924d7e5e25998927360c3cc |
| f481db6 | https://github.com/python/cpython/pull/109498/commits/f481db6cda3428b37924d7e5e25998927360c3cc |
|
| https://github.com/eendebakpt |
| lint | https://github.com/python/cpython/pull/109498/commits/d451ba426e224942bc3d28c65008edca2338bdd6 |
| d451ba4 | https://github.com/python/cpython/pull/109498/commits/d451ba426e224942bc3d28c65008edca2338bdd6 |
|
| https://github.com/eendebakpt |
| Merge branch 'main' into pickle_copy | https://github.com/python/cpython/pull/109498/commits/51482487e0d2726391c1d5ac4d5df934472e6202 |
| 5148248 | https://github.com/python/cpython/pull/109498/commits/51482487e0d2726391c1d5ac4d5df934472e6202 |
|
| https://github.com/eendebakpt |
| Merge branch 'main' into pickle_copy | https://github.com/python/cpython/pull/109498/commits/ff7f16268f94b5c8e08ee73e711c9aaac3e13737 |
| ff7f162 | https://github.com/python/cpython/pull/109498/commits/ff7f16268f94b5c8e08ee73e711c9aaac3e13737 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
Sep 3, 2025
| https://github.com/python/cpython/pull/109498#ref-pullrequest-3378979565 |
|
gh-132657: Make deepcopy and copy scale with free-threading
#138429
| https://github.com/python/cpython/pull/138429 |
|
| https://github.com/eendebakpt |
| Merge branch 'main' into pickle_copy | https://github.com/python/cpython/pull/109498/commits/37916b0b31254d5e98903f09115281d2052932a1 |
| 37916b0 | https://github.com/python/cpython/pull/109498/commits/37916b0b31254d5e98903f09115281d2052932a1 |
| 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%2F109498 |
|
| https://github.com/serhiy-storchaka |
|
serhiy-storchaka
| https://github.com/serhiy-storchaka |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Please reload this page | https://github.com/python/cpython/pull/109498 |
|
| https://github.com/eendebakpt |
|
| https://github.com/skirpichev |
|
| 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 |