Title: Implement Path.__deepcopy__ avoiding infinite recursion by jkseppan · Pull Request #30198 · matplotlib/matplotlib · GitHub
Open Graph Title: Implement Path.__deepcopy__ avoiding infinite recursion by jkseppan · Pull Request #30198 · matplotlib/matplotlib
X Title: Implement Path.__deepcopy__ avoiding infinite recursion by jkseppan · Pull Request #30198 · matplotlib/matplotlib
Description: Implement Path.__deepcopy__ avoiding infinite recursion To deep copy an object without calling deepcopy on the object itself, create a new object of the correct class and iterate calling deepcopy on its __dict__. Closes #29157 without relying on private CPython methods. In a separate commit, fix the other issue with TransformNode.__copy__. PR summary PR checklist "closes #0000" is in the body of the PR description to link the related issue new and changed code is tested [N/A] Plotting related features are demonstrated in an example [N/A] New Features and API Changes are noted with a directive and release note [N/A] Documentation complies with general and docstring guidelines
Open Graph Description: Implement Path.__deepcopy__ avoiding infinite recursion To deep copy an object without calling deepcopy on the object itself, create a new object of the correct class and iterate calling deepcopy o...
X Description: Implement Path.__deepcopy__ avoiding infinite recursion To deep copy an object without calling deepcopy on the object itself, create a new object of the correct class and iterate calling deepcopy o...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/30198
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:576e6068-2d0d-3fe7-f0d0-150ef4f52e57 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CD96:21831D:21C579F:2CBDC37:6A51F868 |
| html-safe-nonce | 5f3d270d15a7142b23e08ab668019bebe7643a3439adb24a35bc555064c801ad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDk2OjIxODMxRDoyMUM1NzlGOjJDQkRDMzc6NkE1MUY4NjgiLCJ2aXNpdG9yX2lkIjoiNTc0Mjc4OTgwMzkxODg4MjkyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a672dcc3dae5976663654895eeb88627c0f7b1e0f60b85354bd205f4dc2a2b56 |
| hovercard-subject-tag | pull_request:2608818096 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib/pull/30198/files |
| twitter:image | https://avatars.githubusercontent.com/u/92814?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/92814?s=400&v=4 |
| og:image:alt | Implement Path.__deepcopy__ avoiding infinite recursion To deep copy an object without calling deepcopy on the object itself, create a new object of the correct class and iterate calling deepcopy o... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width