FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

TO BE CLOSED, CHANGES ON TOP OF MASTER by elan-rmaw · Pull Request #2 · elancapital/pythonnet · GitHub

Repository navigation

TO BE CLOSED, CHANGES ON TOP OF MASTER - #2

Open
elan-rmaw wants to merge 1 commit into
masterfrom
rm-DS-6670-update-pythonnet
Open

elan-rmaw wants to merge 1 commit into
masterfrom
rm-DS-6670-update-pythonnet

Conversation

Copy link
Copy Markdown

No description provided.

elan-rmaw force-pushed the rm-DS-6670-update-pythonnet branch from 00b3610 to c059e87 Compare May 19, 2026 13:53
elan-rmaw marked this pull request as ready for review May 20, 2026 09:41
Copilot AI review requested due to automatic review settings May 20, 2026 09:41
elan-rmaw force-pushed the rm-DS-6670-update-pythonnet branch from f7045ad to 2cdcb95 Compare May 20, 2026 09:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull request overview

This PR adjusts the runtime iterable wrapper to avoid holding the Python GIL across yield return, and adds a regression test to ensure partial enumeration releases the GIL as expected. It also updates the repository version string.

Changes:

  • Release the GIL before yielding items in IterableWrapper<T>.GetEnumerator().
  • Add a regression probe (IterableRegressionTester) + pytest covering partial iteration GIL behavior.
  • Update version.txt to 3.1.0-rc7+elan.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
version.txt Updates the build/version string consumed by MSBuild properties.
tests/test_codec.py Adds a pytest regression test for partial iteration not holding the GIL; updates imports.
src/testing/IterableRegressionTester.cs Introduces a small test helper to detect whether the GIL is still held after a partial iteration step.
src/runtime/CollectionWrappers/IterableWrapper.cs Refactors iteration to acquire the GIL only for MoveNext/conversion and release it before yield return.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread version.txt
Comment thread src/testing/IterableRegressionTester.cs Outdated
@@ -0,0 +1,33 @@
using System;
elan-rmaw force-pushed the rm-DS-6670-update-pythonnet branch from 2cdcb95 to 6c46f3a Compare May 20, 2026 12:25
Copilot AI review requested due to automatic review settings May 20, 2026 12:26
elan-rmaw force-pushed the rm-DS-6670-update-pythonnet branch from 877fc69 to 6c46f3a Compare May 20, 2026 12:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL