Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error message for from imports when a script shadows a module #123930

Closed
hauntsaninja opened this issue Sep 11, 2024 · 0 comments
Closed
Labels
3.13 bugs and security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) type-feature A feature request or enhancement

Comments

@hauntsaninja
Copy link
Contributor

hauntsaninja commented Sep 11, 2024

Feature or enhancement

Proposal:

This is a follow up to #113769

See #113769 (comment)

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

@hauntsaninja hauntsaninja added the type-feature A feature request or enhancement label Sep 11, 2024
@picnixz picnixz added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Sep 11, 2024
@hauntsaninja hauntsaninja added the 3.13 bugs and security fixes label Oct 20, 2024
hauntsaninja added a commit to hauntsaninja/cpython that referenced this issue Oct 24, 2024
hauntsaninja added a commit that referenced this issue Oct 24, 2024
… module (GH-123929) (#125937)

gh-123930: Better error for "from imports" when script shadows module (#123929)

(cherry picked from commit 500f533)
freakboy3742 added a commit that referenced this issue Oct 25, 2024
)

Update a test of importing attributes from binary modules to account for iOS conditions.
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 25, 2024
…pythonGH-125959)

Update a test of importing attributes from binary modules to account for iOS conditions.
(cherry picked from commit 75401fe)

Co-authored-by: Russell Keith-Magee <[email protected]>
hauntsaninja pushed a commit that referenced this issue Oct 25, 2024
GH-125959) (#125960)

gh-123930: Correct test of attribute failure to account for iOS (GH-125959)

Update a test of importing attributes from binary modules to account for iOS conditions.
(cherry picked from commit 75401fe)

Co-authored-by: Russell Keith-Magee <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.13 bugs and security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants