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 — gh-69605: Add math.integer to PyREPL module completer hardcoded list by loic-simon · Pull Request #144811 · python/cpython

Conversation

@loic-simon

@loic-simon loic-simon commented Feb 13, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Add the new math.integer submodule to the hardcoded list of stdlib modules that cannot be detected by pkgutil (implemented in #138268).

See this DPO post for more context about why this is necessary in the first place. I also talk about a new test to ensure this list doesn't get more out of sync, but it builds on the work I did in #140871 (to ensure we don't import a "dangerous" module), so I'll propose it after that MR is merged.

I don't think this change needs a specific issue, but happy to do create one if needed!

  • Issue: Readline completion of module names in import statements #69605

Sorry, something went wrong.

Uh oh!

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

All reactions
@loic-simon
Add math.integer to PyREPL module completer hardcoded list
200f5b8
@loic-simon
loic-simon requested review from ambv, lysnikolaou and pablogsal as code owners February 13, 2026 22:36
@bedevere-app bedevere-app Bot added the awaiting review label Feb 13, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Feb 13, 2026
Readline completion of module names in import statements #69605
Closed
johnslavik
johnslavik approved these changes Feb 14, 2026
View reviewed changes

@johnslavik johnslavik left a comment •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool thing!

Personally, I'd add a news entry. math.integer is a 3.15+ module and your first change also lives in 3.14. To me, it makes sense to record what was added where.

Sorry, something went wrong.

Uh oh!

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

loic-simon reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@bedevere-app bedevere-app Bot added awaiting core review and removed awaiting review labels Feb 14, 2026
blurb-it Bot and others added 2 commits February 14, 2026 13:07
@blurb-it
📜🤖 Added by blurb_it.
4bf7bd5
@loic-simon
Rename blurb file
9e8166a
johnslavik
johnslavik reviewed Feb 14, 2026
View reviewed changes
Comment thread Misc/NEWS.d/next/Core_and_Builtins/2026-02-14-13-07-08.gh-issue-69605.4aL4hn.rst Resolved

Uh oh!

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

@loic-simon @johnslavik
Reword blurb
ca0d9e1
Co-authored-by: Bartosz Sławecki <[email protected]>
johnslavik
johnslavik approved these changes Feb 14, 2026
View reviewed changes

@johnslavik johnslavik left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine by me!

Sorry, something went wrong.

Uh oh!

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

All reactions
@loic-simon
Merge branch 'main' into pyrepl-module-completion-hardcode-math-integer
2dfe262
@loic-simon loic-simon mentioned this pull request Apr 5, 2026
gh-140870: PyREPL auto-complete module attributes in import statements #140871
Merged
pablogsal
pablogsal approved these changes Apr 5, 2026
View reviewed changes
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting core review labels Apr 5, 2026
@pablogsal
pablogsal merged commit c64baff into python:main Apr 5, 2026
60 checks passed

Uh oh!

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

@bedevere-app bedevere-app Bot removed the awaiting merge label Apr 5, 2026
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
@loic-simon @ljfp
pythongh-69605: Add math.integer to PyREPL module completer hardcoded…
568ac22
… list (python#144811)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@pablogsal pablogsal pablogsal approved these changes
@johnslavik johnslavik johnslavik approved these changes
@lysnikolaou lysnikolaou Awaiting requested review from lysnikolaou lysnikolaou is a code owner
@ambv ambv Awaiting requested review from ambv ambv is a code owner

Uh oh!

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

Assignees

No one assigned

Labels

None yet

Projects

None yet

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

@loic-simon @pablogsal @johnslavik
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.