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

Handle bad paths insys.path#2383

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
filmor merged 1 commit intopythonnet:masterfromlosttech:bugs/sys.path-invalid
May 11, 2024

Conversation

lostmsu
Copy link
Member

What does this implement/fix? Explain your changes.

User can add arbitrary strings tosys.path. When we probe for assemblies insys.path the ones that were not valid paths caused the probing to fail, never reaching the valid ones that actually had the desired assembly.

This change handles these cases by generating a warning and continuing to probe in other directories.

Does this close any currently open issues?

fixes#2376

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Updated theCHANGELOG

@lostmsulostmsuforce-pushed thebugs/sys.path-invalid branch 3 times, most recently from3b2958b toeef9619CompareMay 10, 2024 22:23
@lostmsulostmsuforce-pushed thebugs/sys.path-invalid branch fromeef9619 toeb61851CompareMay 10, 2024 22:32
@filmorfilmor merged commitb112885 intopythonnet:masterMay 11, 2024
27 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@filmorfilmorfilmor 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.

System.ArgumentException: Illegal characters in path
2 participants
@lostmsu@filmor

[8]ページ先頭

©2009-2025 Movatter.jp