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

Fix an INTERNAL ERROR when creating cobertura output for namespace package#20112

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

Merged
ilevkivskyi merged 2 commits intopython:masterfromwyattscarpenter:cobcrash
Oct 27, 2025

Conversation

@wyattscarpenter
Copy link
Contributor

@wyattscarpenterwyattscarpenter commentedOct 24, 2025
edited
Loading

Fixes#19843

This fixes an Internal Error where namespace packages were not supported properly. We have to useos.path.isdir(path) instead of trying to catch anIsADirectoryError exception because of a bug on Windows which causes it to throw aPermissionError instead inthe relevant situation, which makesexcept IsADirectoryError unreliable. (We also can't justexcept (IsADirectoryError, PermissionError) because what if there is an actual permission error?)

Paebbels reacted with thumbs up emoji
@github-actions
Copy link
Contributor

According tomypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@wyattscarpenterwyattscarpenter marked this pull request as ready for reviewOctober 24, 2025 11:55
Copy link
Collaborator

@sterliakovsterliakov left a comment

Choose a reason for hiding this comment

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

Nice batch, thanks!

wyattscarpenter reacted with heart emoji
@ilevkivskyiilevkivskyi merged commit00df9a6 intopython:masterOct 27, 2025
20 checks passed
@wyattscarpenterwyattscarpenter deleted the cobcrash branchOctober 27, 2025 18:20
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@ilevkivskyiilevkivskyiilevkivskyi approved these changes

+1 more reviewer

@sterliakovsterliakovsterliakov approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

INTERNAL ERROR when creating cobertura output for namespace package

3 participants

@wyattscarpenter@ilevkivskyi@sterliakov

[8]ページ先頭

©2009-2025 Movatter.jp