GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [3.15] gh-155194: Fix not raising on non-module import (GH-155189) by brittanyrey · Pull Request #155983 · python/cpython

Conversation

@brittanyrey

@brittanyrey brittanyrey commented Aug 18, 2026 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Backporting #155189 from @DinoV

Addresses issues:
#155194
#151408

  • Issue: lazy imports allow lazy import math.pi #155194

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@DinoV @brittanyrey
[3.15] pythongh-155194: Fix not raising on non-module import (pythonG…
a70b440
…H-155189)

* Fix not raising on non-module import

* Fix traceback tests

* Fix doc string and add new test

* Fix up feedback on tests

* Add test case for lazy import dotted.name as name
(cherry picked from commit dffac61)

Co-authored-by: Dino Viehland <[email protected]>
@brittanyrey
brittanyrey requested review from AA-Turner, DinoV, FFY00, Yhg1s, brettcannon, emmatyping, ericsnowcurrently, erlend-aasland, kumaraditya303, ncoghlan, pablogsal and warsaw as code owners August 18, 2026 03:46
@bedevere-app bedevere-app Bot mentioned this pull request Aug 18, 2026
lazy imports allow lazy import math.pi #155194
Closed
@bedevere-app bedevere-app Bot added skip news topic-lazy-imports labels Aug 18, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Aug 18, 2026
gh-155194: Fix not raising on non-module import #155189
Merged
@bedevere-app bedevere-app Bot added the awaiting review label Aug 18, 2026
DinoV
DinoV approved these changes Aug 19, 2026
View reviewed changes
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting review labels Aug 19, 2026
@DinoV DinoV added the release-blocker label Aug 19, 2026
@github-project-automation github-project-automation Bot added this to Release and Deferred blockers 🚫 Aug 19, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Release and Deferred blockers 🚫 Aug 19, 2026
@DinoV DinoV added release-blocker and removed release-blocker labels Aug 19, 2026
@pablogsal
pablogsal merged commit e531dd4 into python:3.15 Aug 19, 2026
67 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@github-project-automation github-project-automation Bot moved this from Todo to Done in Release and Deferred blockers 🚫 Aug 19, 2026
@bedevere-app bedevere-app Bot removed the awaiting merge label Aug 19, 2026
@brittanyrey
brittanyrey deleted the backport-dffac61-3.15 branch September 1, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@DinoV DinoV DinoV approved these changes
@Yhg1s Yhg1s Awaiting requested review from Yhg1s Yhg1s is a code owner
@pablogsal pablogsal Awaiting requested review from pablogsal pablogsal is a code owner
@brettcannon brettcannon Awaiting requested review from brettcannon brettcannon is a code owner
@ericsnowcurrently ericsnowcurrently Awaiting requested review from ericsnowcurrently ericsnowcurrently is a code owner
@ncoghlan ncoghlan Awaiting requested review from ncoghlan ncoghlan is a code owner
@warsaw warsaw Awaiting requested review from warsaw warsaw is a code owner
@FFY00 FFY00 Awaiting requested review from FFY00 FFY00 is a code owner
@kumaraditya303 kumaraditya303 Awaiting requested review from kumaraditya303 kumaraditya303 is a code owner
@erlend-aasland erlend-aasland Awaiting requested review from erlend-aasland erlend-aasland is a code owner
@AA-Turner AA-Turner Awaiting requested review from AA-Turner AA-Turner is a code owner
@emmatyping emmatyping Awaiting requested review from emmatyping emmatyping is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

release-blocker skip news topic-lazy-imports

Projects

Release and Deferred blockers 🚫
Status: Done

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@brittanyrey @DinoV @pablogsal
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.