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

Remove suggestions to useinternal functions#2092

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 2 commits intomasterfromdrop-internal-methods-from-docs
Jan 29, 2023

Conversation

filmor
Copy link
Member

Fixes#2091.

What does this implement/fix? Explain your changes.

...

Does this close any currently open issues?

...

Any other comments?

...

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
  • Ensure you have signed the.NET Foundation CLA
  • Add yourself toAUTHORS
  • Updated theCHANGELOG

Comment on lines -50 to -52
When finished using Python APIs, managed code must call a corresponding
``PythonEngine.ReleaseLock`` to release the GIL and allow other threads
to use Python.
Copy link
Member

@lostmsulostmsuJan 26, 2023
edited
Loading

Choose a reason for hiding this comment

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

IMHO, "when finished" section needs corresponding replacement (maybe merged with the acquisition part).

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Better?

lostmsu reacted with thumbs up emoji
Copy link
Member

@lostmsulostmsu left a comment

Choose a reason for hiding this comment

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

I could see this being confusing a bit in regards with "disposing the return value" - as in "previously returned value" vs "callPy.GIL().Dispose() to release, but probably everyone would read it correctly.

@filmorfilmor merged commitc2fa467 intomasterJan 29, 2023
@filmorfilmor deleted the drop-internal-methods-from-docs branchJanuary 29, 2023 14:00
elan-ajain pushed a commit to elancapital/pythonnet that referenced this pull requestFeb 17, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

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

PythonEngine.AcquireLock and ReleaseLock are marked "internal", but are mentioned in the documentation
2 participants
@filmor@lostmsu

[8]ページ先頭

©2009-2025 Movatter.jp