Title: Adding CrazyLocals for importing stuff automatically by eliasdorneles · Pull Request #636 · bpython/bpython · GitHub
Open Graph Title: Adding CrazyLocals for importing stuff automatically by eliasdorneles · Pull Request #636 · bpython/bpython
X Title: Adding CrazyLocals for importing stuff automatically by eliasdorneles · Pull Request #636 · bpython/bpython
Description: So, this is a really bad idea. This makes names from sys.modules magically available without needing to import them. It does that by replacing the locals dict by a dict subclass that looks up names in sys.modules when they're not present in current locals. Please do NOT merge! But have fun. :)
Open Graph Description: So, this is a really bad idea. This makes names from sys.modules magically available without needing to import them. It does that by replacing the locals dict by a dict subclass that looks up names...
X Description: So, this is a really bad idea. This makes names from sys.modules magically available without needing to import them. It does that by replacing the locals dict by a dict subclass that looks up names...
Opengraph URL: https://github.com/bpython/bpython/pull/636
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:84dd6737-33fa-21ea-f1fa-dfe8ca1064de |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8E64:365221:41B9E:55E01:696E697E |
| html-safe-nonce | 0bf34afd764344a0ae3d1a69fb2287c606fc26b0308b50586585891f1e39c423 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTY0OjM2NTIyMTo0MUI5RTo1NUUwMTo2OTZFNjk3RSIsInZpc2l0b3JfaWQiOiI2NTk1MzMwMTY5MjMxMDEwMTc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6991b302a0e3be4014f641ec7d767a39976f2563400e5daaf88e2f8b0d7f5b50 |
| hovercard-subject-tag | pull_request:87237129 |
| 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/bpython/bpython/pull/636/files |
| twitter:image | https://avatars.githubusercontent.com/u/37565?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/37565?s=400&v=4 |
| og:image:alt | So, this is a really bad idea. This makes names from sys.modules magically available without needing to import them. It does that by replacing the locals dict by a dict subclass that looks up names... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | dd24262d9e4947a6c63df018b01e9a6da49caaf8259148a56a04b665d15d66b3 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/bpython/bpython git https://github.com/bpython/bpython.git |
| octolytics-dimension-user_id | 8071396 |
| octolytics-dimension-user_login | bpython |
| octolytics-dimension-repository_id | 21508865 |
| octolytics-dimension-repository_nwo | bpython/bpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21508865 |
| octolytics-dimension-repository_network_root_nwo | bpython/bpython |
| 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 | 307ab96ec5f21762ff6c530a60b1ef6b1e74dd5a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width