Title: Create a lazy import loader mixin · Issue #61821 · python/cpython · GitHub
Open Graph Title: Create a lazy import loader mixin · Issue #61821 · python/cpython
X Title: Create a lazy import loader mixin · Issue #61821 · python/cpython
Description: BPO 17621 Nosy @Yhg1s, @warsaw, @brettcannon, @ericvsmith, @jwilk, @ericsnowcurrently Files test_lazy_loader.py: testslazy_mixin.py: Solution using a mixinlazy_proxy.py: Solution using a proxylazy_test.pylazy_loader.difflazy_loader.diffl...
Open Graph Description: BPO 17621 Nosy @Yhg1s, @warsaw, @brettcannon, @ericvsmith, @jwilk, @ericsnowcurrently Files test_lazy_loader.py: testslazy_mixin.py: Solution using a mixinlazy_proxy.py: Solution using a proxylazy_...
X Description: BPO 17621 Nosy @Yhg1s, @warsaw, @brettcannon, @ericvsmith, @jwilk, @ericsnowcurrently Files test_lazy_loader.py: testslazy_mixin.py: Solution using a mixinlazy_proxy.py: Solution using a proxylazy_...
Opengraph URL: https://github.com/python/cpython/issues/61821
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Create a lazy import loader mixin","articleBody":"BPO | [17621](https://bugs.python.org/issue17621)\n--- | :---\nNosy | @Yhg1s, @warsaw, @brettcannon, @ericvsmith, @jwilk, @ericsnowcurrently\nFiles | \u003cli\u003e[test_lazy_loader.py](https://bugs.python.org/file30670/test_lazy_loader.py \"Uploaded as text/plain at 2013-06-22.19:45:43 by @brettcannon\"): tests\u003c/li\u003e\u003cli\u003e[lazy_mixin.py](https://bugs.python.org/file30671/lazy_mixin.py \"Uploaded as text/plain at 2013-06-22.19:46:00 by @brettcannon\"): Solution using a mixin\u003c/li\u003e\u003cli\u003e[lazy_proxy.py](https://bugs.python.org/file30672/lazy_proxy.py \"Uploaded as text/plain at 2013-06-22.19:48:23 by @brettcannon\"): Solution using a proxy\u003c/li\u003e\u003cli\u003e[lazy_test.py](https://bugs.python.org/file33136/lazy_test.py \"Uploaded as text/plain at 2013-12-15.02:25:40 by @brettcannon\")\u003c/li\u003e\u003cli\u003e[lazy_loader.diff](https://bugs.python.org/file33947/lazy_loader.diff \"Uploaded as text/plain at 2014-02-06.19:02:27 by @brettcannon\")\u003c/li\u003e\u003cli\u003e[lazy_loader.diff](https://bugs.python.org/file34556/lazy_loader.diff \"Uploaded as text/plain at 2014-03-21.19:40:57 by @brettcannon\")\u003c/li\u003e\u003cli\u003e[lazy_loader.diff](https://bugs.python.org/file34576/lazy_loader.diff \"Uploaded as text/plain at 2014-03-23.02:15:13 by @brettcannon\")\u003c/li\u003e\u003cli\u003e[lazy_loader.diff](https://bugs.python.org/file34591/lazy_loader.diff \"Uploaded as text/plain at 2014-03-23.19:01:18 by @brettcannon\"): Detect sys.modules swap\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/brettcannon'\nclosed_at = \u003cDate 2014-04-04.17:55:06.543\u003e\ncreated_at = \u003cDate 2013-04-02.18:00:47.615\u003e\nlabels = ['type-feature', 'library']\ntitle = 'Create a lazy import loader mixin'\nupdated_at = \u003cDate 2014-04-04.22:10:33.832\u003e\nuser = 'https://github.com/brettcannon'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2014-04-04.22:10:33.832\u003e\nactor = 'eric.snow'\nassignee = 'brett.cannon'\nclosed = True\nclosed_date = \u003cDate 2014-04-04.17:55:06.543\u003e\ncloser = 'brett.cannon'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2013-04-02.18:00:47.615\u003e\ncreator = 'brett.cannon'\ndependencies = []\nfiles = ['30670', '30671', '30672', '33136', '33947', '34556', '34576', '34591']\nhgrepos = []\nissue_num = 17621\nkeywords = ['patch']\nmessage_count = 26.0\nmessages = ['185852', '191551', '191616', '191623', '191651', '191660', '191667', '191675', '191772', '191776', '191779', '201930', '202445', '206205', '206211', '210410', '214410', '214508', '214536', '214627', '214921', '214922', '214954', '215542', '215543', '215572']\nnosy_count = 10.0\nnosy_names = ['twouters', 'barry', 'brett.cannon', 'eric.smith', 'jwilk', 'durin42', 'Arfrever', 'python-dev', 'sbt', 'eric.snow']\npr_nums = []\npriority = 'low'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'enhancement'\nurl = 'https://bugs.python.org/issue17621'\nversions = ['Python 3.5']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/brettcannon","@type":"Person","name":"brettcannon"},"datePublished":"2013-04-02T18:00:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":26},"url":"https://github.com/61821/cpython/issues/61821"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ce903b1b-c6b9-bf51-a182-752045288598 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9DA8:1525EF:141C556:1A7D223:6A51B5F3 |
| html-safe-nonce | 7499f59e6214fff56c8ae1e2d5a5a216827c5ffb27d9d37738ed01660614cf3f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REE4OjE1MjVFRjoxNDFDNTU2OjFBN0QyMjM6NkE1MUI1RjMiLCJ2aXNpdG9yX2lkIjoiNzM4MDE5MjkxMzgyMzc0MTQyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dae9b40f31bfa6b41f06bfd20a9cb76a81ddc772bc13a2c7ad127d75d01e7cd4 |
| hovercard-subject-tag | issue:1198898838 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/cpython/61821/issue_layout |
| twitter:image | https://opengraph.githubassets.com/42f38f0ce5028b21459055ce262d4a88daf5f96f70e07dd5f0e611f9b3c557e8/python/cpython/issues/61821 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/42f38f0ce5028b21459055ce262d4a88daf5f96f70e07dd5f0e611f9b3c557e8/python/cpython/issues/61821 |
| og:image:alt | BPO 17621 Nosy @Yhg1s, @warsaw, @brettcannon, @ericvsmith, @jwilk, @ericsnowcurrently Files test_lazy_loader.py: testslazy_mixin.py: Solution using a mixinlazy_proxy.py: Solution using a proxylazy_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brettcannon |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width