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

Added workaround for warning inthreading module afterTestInterrupt#1560

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
lostmsu merged 1 commit intopythonnet:masterfromlosttech:interrupt-improvements
Sep 22, 2021

Conversation

@lostmsu
Copy link
Member

Also: avoid usingdynamic inGetPythonThreadID

What does this implement/fix? Explain your changes.

This should put us to peace in regards to this warning in CI on MacOS X Python 3.7:

Exception ignored in: <module 'threading' from '/Users/runner/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/threading.py'>Traceback (most recent call last):  File "/Users/runner/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/threading.py", line 1292, in _shutdown    assert tlock.locked()AssertionError:

It happens when the main Python thread never importsthreading module, while secondary threads do.

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change

filmor reacted with hooray emoji
@lostmsulostmsu merged commit8fb4704 intopythonnet:masterSep 22, 2021
@lostmsulostmsu deleted the interrupt-improvements branchSeptember 22, 2021 05:15
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@lostmsu

[8]ページ先頭

©2009-2026 Movatter.jp