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-114709: Fix exceptions raised by posixpath.commonpath#114710

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
hauntsaninja merged 1 commit intopython:mainfromsrittau:commonpath-iter
Feb 18, 2024

Conversation

@srittau
Copy link
Contributor

@srittausrittau commentedJan 29, 2024
edited by github-actionsbot
Loading

Raise ValueError, not IndexError when passed an empty iterable. Raise TypeError, not ValueError when passed None.


📚 Documentation preview 📚:https://cpython-previews--114710.org.readthedocs.build/

Raise ValueError, not IndexError when passed an empty iterable. RaiseTypeError, not ValueError when passed None.
@srittausrittau deleted the commonpath-iter branchFebruary 19, 2024 04:40
woodruffw pushed a commit to woodruffw-forks/cpython that referenced this pull requestMar 4, 2024
…n#114710)Fix the exceptions raised by posixpath.commonpathRaise ValueError, not IndexError when passed an empty iterable. RaiseTypeError, not ValueError when passed None.
diegorusso pushed a commit to diegorusso/cpython that referenced this pull requestApr 17, 2024
…n#114710)Fix the exceptions raised by posixpath.commonpathRaise ValueError, not IndexError when passed an empty iterable. RaiseTypeError, not ValueError when passed None.
LukasWoodtli pushed a commit to LukasWoodtli/cpython that referenced this pull requestJan 22, 2025
…n#114710)Fix the exceptions raised by posixpath.commonpathRaise ValueError, not IndexError when passed an empty iterable. RaiseTypeError, not ValueError when passed None.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@serhiy-storchakaserhiy-storchakaserhiy-storchaka left review comments

@hauntsaninjahauntsaninjahauntsaninja approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@srittau@serhiy-storchaka@hauntsaninja

[8]ページ先頭

©2009-2025 Movatter.jp