Title: bpo-33826: add __filename__ to Python-defined classes for introspection by t-vi · Pull Request #13894 · python/cpython · GitHub
Open Graph Title: bpo-33826: add __filename__ to Python-defined classes for introspection by t-vi · Pull Request #13894 · python/cpython
X Title: bpo-33826: add __filename__ to Python-defined classes for introspection by t-vi · Pull Request #13894 · python/cpython
Description: This adds an attribute __filename__ to classes. It enables introspection in IPython/Jupyter using inspect.getsource(). https://bugs.python.org/issue33826
Open Graph Description: This adds an attribute __filename__ to classes. It enables introspection in IPython/Jupyter using inspect.getsource(). https://bugs.python.org/issue33826
X Description: This adds an attribute __filename__ to classes. It enables introspection in IPython/Jupyter using inspect.getsource(). https://bugs.python.org/issue33826
Opengraph URL: https://github.com/python/cpython/pull/13894
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:13e8b4ad-d27c-e854-e4ac-13f6890d1dd9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8D56:1DCECA:5E74EA:873AA5:6A50FF78 |
| html-safe-nonce | 6a084cbcc2ca77ff9a7df4ca92b82e7d2214442f2ff99ed99ad9612ca6260f99 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDU2OjFEQ0VDQTo1RTc0RUE6ODczQUE1OjZBNTBGRjc4IiwidmlzaXRvcl9pZCI6IjExMDE5NjkzMzQ0MDA1MTU5NjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2e79464a527e37b853544aee17c52fb7390645d41fb863bf213421ec927e0285 |
| hovercard-subject-tag | pull_request:286211061 |
| 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/python/cpython/pull/13894/files |
| twitter:image | https://avatars.githubusercontent.com/u/20787943?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/20787943?s=400&v=4 |
| og:image:alt | This adds an attribute __filename__ to classes. It enables introspection in IPython/Jupyter using inspect.getsource(). https://bugs.python.org/issue33826 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 38906a4da4e3e9fd88dfeacee232f5932c0c5f7495de3b4efc53ddfac7173d12 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 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 | 90441ea9b98e7491aa6ebcd135fccce4e2396f48 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width