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/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:5a77aa46-ad2d-c9ae-6b4c-aaafd9344eb3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BC98:BD25:129A482:195453C:6A571C44 |
| html-safe-nonce | f0d74a183db731c4344414252084cd535be79fd1a1fb38466c4c398864176fba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzk4OkJEMjU6MTI5QTQ4MjoxOTU0NTNDOjZBNTcxQzQ0IiwidmlzaXRvcl9pZCI6IjM5OTYyMjc3OTgwODQwMzM2MDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 28fadc1831b82cbf47100d2640cccb67717e5483d5e860c4a8f97d0040d77175 |
| hovercard-subject-tag | pull_request:190526577 |
| 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/11307/commits |
| 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 | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| 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 | 2576d1f0198cf1588faf2edf27f1ed120903be10 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width