If you are not sure if the website you would like to visit is secure, you can verify it here. Enter the website address of the page and see parts of its content and the thumbnail images on this site. None (if any) dangerous scripts on the referenced page will be executed. Additionally, if the selected site contains subpages, you can verify it (review) in batches containing 5 pages.
favicon.ico: github.com/python/cpython/issues/162573 - Imports in a `finally` or `els.

site address: github.com/python/cpython/issues/162573 redirected to: github.com/python/cpython/issues/162573

site title: Imports in a `finally` or `else` clause are lazy under `__lazy_modules__` · Issue #162573 · python/cpython · GitHub

Our opinion (on Wednesday 25 November 2026 6:19:00 UTC):

GREEN status (no comments) - no comments
After content analysis of this website we propose the following hashtags:



Meta tags:
description=Bug report Bug description: The docs say Imports inside functions, class bodies, or try/except/finally blocks are always eager, regardless of __lazy_modules__ (Compatibility via __lazy_modules__), and lazy import in a finally or else c...;

Headings (most frequently used words):

navigation, bug, description, metadata, footer, tested, on, imports, in, finally, or, else, clause, are, lazy, under, __lazy_modules__, 162573, report, menu, repository, activity, issue, actions, cpython, versions, operating, systems, assignees, labels, projects, milestone, relationships, development,

Text of the page (most frequently used words):
and (15), github (14), the (11), lazy (9), #finally (9), bug (8), imports (8), python (7), else (7), for (6), are (6), try (6), __lazy_modules__ (6), clause (6), security (5), copilot (5), issue (5), type (5), sign (5), except (5), code (5), you (4), actions (4), projects (4), cpython (4), copy (4), import (4), your (4), support (4), navigation (3), 2026 (3), unexpected (3), behavior (3), error (3), topic (3), objects (3), grammar (3), parser (3), dirs (3), interpreter (3), core (3), one (3), body (3), json (3), ast (3), pass (3), link (3), 162573 (3), under (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), reload (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), all (3), build (3), that (2), this (2), not (2), docs (2), community (2), status (2), footer (2), pull (2), requests (2), development (2), milestone (2), labels (2), metadata (2), nov (2), tested (2), normal (2), path (2), module (2), lazy_import (2), __name__ (2), globals (2), keyerror (2), inside (2), bodies (2), blocks (2), eager (2), description (2), backlog (2), new (2), insights (2), repository (2), signed (2), with (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), learn (2), business (2), fixes (2), products (2), secret (2), can, perform, action, time, share, personal, information, manage, cookies, contact, privacy, terms, inc, open, app, branches, none, yet, relationships, assigned, assignees, comment, already, have, account, join, conversation, free, added, nekoasakura, activity, linux, operating, systems, main, branch, versions, expected, compiled, outside, fblocks, checks, found, while, writing, lean, spec, _pycompile_inexceptionhandler, codegen, codegen_try_finally, print, raise, importerror, say, functions, class, always, regardless, syntaxerror, allowed, but, without, compatibility, via, report, opened, robertboy18, more, items, issues, message, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, event, talks, workshops, what, next, partners, about, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, add, ons, trust, why, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, source, latest, improvements, across, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, work, hosting, review, collaboration, platform, menu, skip, content,
Thumbnail images (randomly selected): * Images may be subject to copyright.GREEN status (no comments)

Verified site has: 53 subpage(s). Do you want to verify them? Verify pages:

1-5 6-10 11-15 16-20 21-25 26-30 31-35 36-40 41-45 46-50
51-53


Top 50 hastags from of all verified websites.

Supplementary Information (add-on for SEO geeks)*- See more on header.verify-www.com

Header

HTTP/1.1 301 Moved Permanently
Content-Length 0
Location htt????/github.com/python/cpython/issues/162573
connection close
HTTP/2 200
date Wed, 25 Nov 2026 06:19:00 GMT
content-type text/html; charset=utf-8
cache-control max-age=0, private, must-revalidate
content-security-policy default-src none ; base-uri self ; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src self uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net productionresultssa1.blob.core.windows.net productionresultssa2.blob.core.windows.net productionresultssa3.blob.core.windows.net productionresultssa4.blob.core.windows.net productionresultssa5.blob.core.windows.net productionresultssa6.blob.core.windows.net productionresultssa7.blob.core.windows.net productionresultssa8.blob.core.windows.net productionresultssa9.blob.core.windows.net productionresultssa10.blob.core.windows.net productionresultssa11.blob.core.windows.net productionresultssa12.blob.core.windows.net productionresultssa13.blob.core.windows.net productionresultssa14.blob.core.windows.net productionresultssa15.blob.core.windows.net productionresultssa16.blob.core.windows.net productionresultssa17.blob.core.windows.net productionresultssa18.blob.core.windows.net productionresultssa19.blob.core.windows.net productionresultssa30.blob.core.windows.net productionresultssa31.blob.core.windows.net productionresultssa32.blob.core.windows.net github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com wss://*.wps.githubcopilot.com wss://production-copilot-host.webpubsub.azure.com wss://production-copilot-host-centralus.webpubsub.azure.com wss://production-copilot-host-centralus-02.webpubsub.azure.com wss://production-copilot-host-westus.webpubsub.azure.com wss://production-copilot-host-westus3.webpubsub.azure.com wss://production-copilot-host-eastasia.webpubsub.azure.com wss://production-copilot-host-austriaeast.webpubsub.azure.com api.github.com/cmc_internal/api/; font-src github.githubassets.com; form-action self github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors none ; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src self data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com user-images.githubusercontent.com private-user-images.githubusercontent.com opengraph.githubassets.com repository-images.githubusercontent.com marketplace-screenshots.githubusercontent.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com explore-feed.github.com *.googleusercontent.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src self ; media-src github.com user-images.githubusercontent.com secured-user-images.githubusercontent.com private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com github.githubassets.com; script-src github.githubassets.com sha256-6nkh0w49y4npXaU0CPIq0z+XDtPnpaDFECgj6Y9vmx4= ; style-src unsafe-inline github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
link <htt????/github.com/python/cpython/issues/162573/secondary_view?markAsRead=true&queryId=ee1655bb0bf9a73154e908237823b443d2b8e4a98c1a6d9ca75fc33a8834ce70>; rel=preload; as=fetch; type=application/json; crossorigin=use-credentials; nopush
referrer-policy no-referrer-when-downgrade
server-timing issue_layout-fragment;desc= issue_layout fragment ;dur=213.129707,issue_conversation_content-fragment;desc= issue_conversation_content fragment ;dur=504.448294,nginx;desc= NGINX ;dur=1.014463,glb;desc= GLB ;dur=67.088535
strict-transport-security max-age=31536000; includeSubdomains; preload
vary X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With, X-GitHub-Client-Version, Accept, Sec-Fetch-Site,Accept-Encoding, Accept, X-Requested-With
x-content-type-options nosniff
x-frame-options deny
x-voltron-version 0d5e604
x-xss-protection 0
server github.com
content-encoding gzip
accept-ranges bytes
set-cookie _gh_sess=RrWGgddp%2FfQl4hKk3Ocjh9KiMeaaD719MuH4jyZKF%2Frbclfh6FO3GLn6nnmcZFmvrwMMf9LkM6fjL8bL33DF3YnyIwNm6nmrGqphmoO6dBx%2FiM%2BFd8tME2nJ8U1yxuf2Je%2FZETj4A2K%2FGGFg9BGN%2FH1CNmAkfHOvobTyhVjOhiGa5Iu6dIG%2Fz9l0YGNI0SaVuvWHQOdvzu45qsvxGQRGMIoRqwAtLWeo9luOVNRUYbWeFSRaclj2wEYyWf3On35LtEtFpPX1dQSNTOdKa1ii%2Fg%3D%3D--vIJIXtFzoHXVwIsB--Q5Xt%2FUhSJdU%2FG9msXhJaXQ%3D%3D; path=/; HttpOnly; secure; SameSite=Lax
set-cookie _octo=GH1.1.61466893.1795587539; expires=Thu, 25 Nov 2027 06:18:59 GMT; domain=.github.com; path=/; secure; SameSite=Lax
set-cookie logged_in=no; expires=Thu, 25 Nov 2027 06:18:59 GMT; domain=.github.com; path=/; HttpOnly; secure; SameSite=Lax
x-github-request-id DFA4:E750:A5A2E:1E194E:6B067DD3
x-github-edge-region switzerlandnorth

Meta Tags

title="Imports in a `finally` or `else` clause are lazy under `__lazy_modules__` · Issue #162573 · python/cpython · GitHub"
charset="utf-8"
name="react-profiling" content="0" data-turbo-transient="true"
name="react-import-map" content="react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322" data-turbo-track="reload"
name="route-pattern" content="/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)" data-turbo-transient
name="route-controller" content="voltron_issues_fragments" data-turbo-transient
name="route-action" content="issue_layout" data-turbo-transient
name="fetch-nonce" content="v2:7b2ee7fc-da25-5a27-f24f-777fd230379a"
name="current-catalog-service-hash" content="81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114"
name="request-id" content="DFA4:E750:A5A2E:1E194E:6B067DD3" data-pjax-transient="true"
name="html-safe-nonce" content="a5ce70adfdc704a8d4e694f721d6ead42b53bc3d43ae237a8426d09657c7dc65" data-pjax-transient="true"
name="visitor-payload" content="eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkE0OkU3NTA6QTVBMkU6MUUxOTRFOjZCMDY3REQzIiwidmlzaXRvcl9pZCI6IjI2Mzk5ODI5NzAxNzMxODg2NyIsInJlZ2lvbl9lZGdlIjoic3dpdHplcmxhbmRub3J0aCIsInJlZ2lvbl9yZW5kZXIiOiJzd2l0emVybGFuZG5vcnRoIn0=" data-pjax-transient="true"
name="visitor-hmac" content="c2e66f18d665b63716b946c844a49694613f958df2e674c3c7871760c5b47323" data-pjax-transient="true"
name="hovercard-subject-tag" content="issue:6587703036" data-turbo-transient
name="github-keyboard-shortcuts" content="repository,issues,copilot" data-turbo-transient="true"
name="selected-link" value="repo_issues" data-turbo-transient
name="google-site-verification" content="Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I"
name="octolytics-url" content="htt????/collector.github.com/github/collect"
name="analytics-location" content="/<user-name>/<repo-name>/voltron/issues_fragments/issue_layout" data-turbo-transient="true"
name="user-login" content=""
name="viewport" content="width=device-width"
name="description" content='Bug report Bug description: The docs say "Imports inside functions, class bodies, or try/except/finally blocks are always eager, regardless of __lazy_modules__" (Compatibility via __lazy_modules__), and lazy import in a finally or else c...'
property="fb:app_id" content="1401488693436528"
name="apple-itunes-app" content="app-id=1477376905, app-argument=htt????/github.com/_view_fragments/issues/show/python/cpython/162573/issue_layout"
name="twitter:image" content="htt????/opengraph.githubassets.com/cdc3264a685bcfe97a5e4e305506a5ce08df28dafda474295ca5c939ed81eaa9/python/cpython/issues/162573"
name="twitter:site" content="@github"
name="twitter:card" content="summary_large_image"
name="twitter:title" content="Imports in a `finally` or `else` clause are lazy under `__lazy_modules__` · Issue #162573 · python/cpython"
name="twitter:description" content="Bug report Bug description: The docs say &quot;Imports inside functions, class bodies, or try/except/finally blocks are always eager, regardless of __lazy_modules__&quot; (Compatibility via __lazy_..."
property="og:image" content="htt????/opengraph.githubassets.com/cdc3264a685bcfe97a5e4e305506a5ce08df28dafda474295ca5c939ed81eaa9/python/cpython/issues/162573"
property="og:image:alt" content='Bug report Bug description: The docs say "Imports inside functions, class bodies, or try/except/finally blocks are always eager, regardless of __lazy_modules__" (Compatibility via __lazy_modules__)...'
property="og:image:width" content="1200"
property="og:image:height" content="600"
property="og:site_name" content="GitHub"
property="og:type" content="object"
property="og:title" content="Imports in a `finally` or `else` clause are lazy under `__lazy_modules__` · Issue #162573 · python/cpython"
property="og:url" content="htt????/github.com/python/cpython/issues/162573"
property="og:description" content='Bug report Bug description: The docs say "Imports inside functions, class bodies, or try/except/finally blocks are always eager, regardless of __lazy_modules__" (Compatibility via __lazy_modules__)...'
property="og:author:username" content="Robertboy18"
name="hostname" content="github.com"
name="expected-hostname" content="github.com"
http-equiv="x-pjax-version" content="c50a42fe51c16f97ecf070090ba0962a9953bc92f2d9ca3ed268b7022ea51f4c" data-turbo-track="reload"
http-equiv="x-pjax-csp-version" content="adddfd507de4c4b0b130ff1dbf3c31681ba97e7a45dc69da056946fc5370dfd4" data-turbo-track="reload"
http-equiv="x-pjax-css-version" content="0a2bc676afa04c45f18fe8e04fa105af26f9e846362e203affb4e3ad322dcd15" data-turbo-track="reload"
http-equiv="x-pjax-js-version" content="4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a" data-turbo-track="reload"
name="turbo-cache-control" content="no-preview" data-turbo-transient=""
name="voltron-timing" value="506"
name="go-import" content="github.com/python/cpython git htt????/github.com/python/cpython.git"
name="octolytics-dimension-user_id" content="1525981"
name="octolytics-dimension-user_login" content="python"
name="octolytics-dimension-repository_id" content="81598961"
name="octolytics-dimension-repository_nwo" content="python/cpython"
name="octolytics-dimension-repository_public" content="true"
name="octolytics-dimension-repository_is_fork" content="false"
name="octolytics-dimension-repository_network_root_id" content="81598961"
name="octolytics-dimension-repository_network_root_nwo" content="python/cpython"
name="turbo-body-classes" content="logged-out env-production page-responsive"
name="disable-turbo" content="false"
name="browser-stats-url" content="htt????/api.github.com/_private/browser/stats"
name="browser-errors-url" content="htt????/api.github.com/_private/browser/errors"
name="release" content="6d3909414814ff86ce7da4c51a0f4918a13fb41b" data-turbo-track="reload"
name="ui-target" content="full"
name="theme-color" content="#1e2327"
name="color-scheme" content="light dark"
name="react-app-name" content="issues"

Load Info

page size39733
load time (s)0.793172
redirect count1
speed download50104
server IP 4.163.8.144
* all occurrences of the string "http://" have been changed to "htt???/"