Title: Pycapsule by mdboom · Pull Request #493 · matplotlib/matplotlib · GitHub
Open Graph Title: Pycapsule by mdboom · Pull Request #493 · matplotlib/matplotlib
X Title: Pycapsule by mdboom · Pull Request #493 · matplotlib/matplotlib
Description: This commit avoids PendingDeprecationWarnings on Python 2.7 of the form: /home/titan/johnh/devlinux/lib64/python2.7/site-packages/matplotlib/textpath.py:246: PendingDeprecationWarning: The CObject type is marked Pending Deprecation in Python 2.7. Please use capsule objects instead. font.clear() It replaces all calls to PyCObject_* with their equivalent PyCapsule_* calls. This same change was made on the py3 branch for Python 3.x compiles only, and has been working there for a while. These changes are all in an #ifdef, and thus should have no change on Python < 2.7.
Open Graph Description: This commit avoids PendingDeprecationWarnings on Python 2.7 of the form: /home/titan/johnh/devlinux/lib64/python2.7/site-packages/matplotlib/textpath.py:246: PendingDeprecationWarning: The CObject...
X Description: This commit avoids PendingDeprecationWarnings on Python 2.7 of the form: /home/titan/johnh/devlinux/lib64/python2.7/site-packages/matplotlib/textpath.py:246: PendingDeprecationWarning: The CObject...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/493
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:899a7ae5-781d-982d-702f-34c0dba99d91 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 833A:101A9F:2024260:2B48641:6A53813B |
| html-safe-nonce | 1dc7f143a351b4b074b64e7cf739e132cec17668504b5b7c7ec149f5710a407a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzNBOjEwMUE5RjoyMDI0MjYwOjJCNDg2NDE6NkE1MzgxM0IiLCJ2aXNpdG9yX2lkIjoiMjU4NDM4MzU3NTg1NzI2NzAwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 432ba27f6e8350a7551002b817e3036704a7b790230d05f0d4678d22b13aec4f |
| hovercard-subject-tag | pull_request:355560 |
| 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/493/files |
| twitter:image | https://avatars.githubusercontent.com/u/38294?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/38294?s=400&v=4 |
| og:image:alt | This commit avoids PendingDeprecationWarnings on Python 2.7 of the form: /home/titan/johnh/devlinux/lib64/python2.7/site-packages/matplotlib/textpath.py:246: PendingDeprecationWarning: The CObject... |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width