Commit Graph
1 Commits
Author SHA1 Message Date
rohit-jsfreakyandClaude Opus 4.8 ab3c3553cc fix(python): never resolve an absolute import to the module that contains it (#4225)
A directory-qualified stem fallback could resolve an absolute import
(from werkzeug.wrappers import Request) onto a local wrappers.py, rewiring a
class to inherit from itself. Exclude the importing file's own stems; a
same-named module in another package still resolves by exact/suffix/bare stem.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-08 14:28:20 +01:00