Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-140824: remove math.integer submodule name for sys.stdlib_module_names#144294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

@skirpichev
Copy link
Member

@skirpichevskirpichev commentedJan 28, 2026
edited by bedevere-appbot
Loading

@skirpichev
Copy link
MemberAuthor

CC@vstinner

@StanFromIreland
Copy link
Member

This is inconsistent, and is against the docs:

sub-packages and sub-modules are not listed.

I agree that in some cases this is a quite serious limitation, e.g. in the case ofcompression.zstd, but I think this should be fixed properly and not confused with exceptions.

@skirpichevskirpichev changed the titlegh-140824: workaround math.integer module name for sys.stdlib_module_namesgh-140824: remove math.integer submodule name for sys.stdlib_module_namesJan 28, 2026
@skirpichev
Copy link
MemberAuthor

Does make sense, updated.

@vstinner
Copy link
Member

Why do you want to hide the fact that_math_integer is part of the stdlib?

@skirpichev
Copy link
MemberAuthor

As Stan pointed out above, thedocs says that the set shouldn't include submodules:

For packages, only the main package is listed: sub-packages and sub-modules are not listed. For example, the email package is listed, but the email.mime sub-package and the email.message sub-module are not listed.

So, I think that removing is an option, not renaming.

@vstinner
Copy link
Member

But technically,_math_integer contains no dot, it's not a submodule :-( I would suggest to leave it in stdlib_module_names.

@skirpichev
Copy link
MemberAuthor

Ok, lets then leave it as is. But I suspect it will disappear with solving#140824.

@skirpichevskirpichev deleted the stdlib_module_names/140824 branchJanuary 28, 2026 10:37
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@ericsnowcurrentlyericsnowcurrentlyAwaiting requested review from ericsnowcurrently

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@skirpichev@StanFromIreland@vstinner

[8]ページ先頭

©2009-2026 Movatter.jp