Title: Avoid recursion for subclasses of str that are also "PathLike" in to_filehandle() by Nodd · Pull Request #11307 · matplotlib/matplotlib · GitHub
Open Graph Title: Avoid recursion for subclasses of str that are also "PathLike" in to_filehandle() by Nodd · Pull Request #11307 · matplotlib/matplotlib
X Title: Avoid recursion for subclasses of str that are also "PathLike" in to_filehandle() by Nodd · Pull Request #11307 · matplotlib/matplotlib
Description: matplotlib: plotting with Python. Contribute to matplotlib/matplotlib development by creating an account on GitHub.
Open Graph Description: This is the case for path.py for example. Fixes gh-11306 PR Summary If the path to savefig is both a subclass of str and a PathLike object, to_filehandle() creates an infinite recursion. The PR sim...
X Description: This is the case for path.py for example. Fixes gh-11306 PR Summary If the path to savefig is both a subclass of str and a PathLike object, to_filehandle() creates an infinite recursion. The PR sim...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/11307
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:d73b0600-3fbc-9867-81e2-477d91f3f62e |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9730:16F599:2DCA03F:41C745C:6A568548 |
| html-safe-nonce | dcf5446f4e523ed33ba35a82d1210956eaf31053b7eb5b2efe8a9ad3df17912b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzMwOjE2RjU5OToyRENBMDNGOjQxQzc0NUM6NkE1Njg1NDgiLCJ2aXNpdG9yX2lkIjoiNDYzNjU3MjY5MTY4ODY2NjMyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 52a7ba07f18aa2cf1941b57de82c8cbf4dd0077703267333d23edafe80140244 |
| hovercard-subject-tag | pull_request:190526577 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/11307/checks |
| twitter:image | https://opengraph.githubassets.com/ff97fc3060cc16fd6bdcfe4c2e63d4781ec28bce08b29bd22fd6662fce06a19d/matplotlib/matplotlib/pull/11307 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ff97fc3060cc16fd6bdcfe4c2e63d4781ec28bce08b29bd22fd6662fce06a19d/matplotlib/matplotlib/pull/11307 |
| og:image:alt | This is the case for path.py for example. Fixes gh-11306 PR Summary If the path to savefig is both a subclass of str and a PathLike object, to_filehandle() creates an infinite recursion. The PR sim... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Nodd |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b5ee9431dcfce15ab4b001d626e4e3a6ba1acb7be814813a52bbebd9a86ef5 |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fc131753d059926755b1ab26f13a2c96a692f5d7 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width