-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
bpo-38880: List interpreters associated with a channel end #17323
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
miss-islington
merged 34 commits into
python:master
from
LewisGaul:list-channel-interps
Apr 29, 2020
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
ec5aa60
Attempt at implementing channel_list_interpreters()
LewisGaul ee78133
Fix some error cases
LewisGaul 433a5b0
Fix issue with decreasing list items' references
LewisGaul 64c1661
Fix issue with reference to interpreter
LewisGaul 2c5c6df
Add ability to list interpreters on send or receive channels
LewisGaul 7f439fa
Fix arg parsing in C code
LewisGaul d86ae97
Minor changes
LewisGaul c529c88
Add channel_list_interpreters() tests
168ebf3
Fix docstring
LewisGaul 2a7b508
Improve naming in tests
LewisGaul 4d6ac6e
Add macros for int64_t max etc
LewisGaul a44c2d2
Fix error handling
LewisGaul 215300b
Expose _PyInterpreterState_LookUpID
LewisGaul 9b124db
Fix bad git rebase (use _xxsubinterpreters module name)
LewisGaul 76621c7
Remove decref of NULL
LewisGaul d4c51bf
Fix leftover broken code from nested loop
LewisGaul f3c2b34
Remove whitespace from tests
LewisGaul af10d1f
Add to Misc/ACKS
LewisGaul ac09b6c
Remove PY_INT64_T_MAX etc. and use stdint.h
LewisGaul 8e69864
Remove whitespace
LewisGaul 0546702
📜🤖 Added by blurb_it.
blurb-it[bot] ad511ef
Update news entry to remove mention of PEP 554
LewisGaul a1b7c3a
Remove unnecessary asserts
LewisGaul d9b3e27
Use single 'send' argument in channel_list_interpreters() API
LewisGaul f4990b0
Tidy up _channelends_list_interpreters() function
LewisGaul c7dbb04
Move variable declarations inline
LewisGaul 6202ecd
Use _PyInterpreterID_New() instead of getting existing objects
LewisGaul a7cf61b
Merge branch 'list-channel-interps' of github.com:LewisGaul/cpython i…
LewisGaul 357101f
Markups - remove check for number of open channels and improve test s…
LewisGaul faca1df
Add more listing subinterpreter tests
LewisGaul 75e791f
Implementation rewrite upon Eric's suggestion. Just one testcase now …
LewisGaul 79f5d35
Fix issue with ChannelClosedError not being raised when 'send' end of…
LewisGaul 5481e82
Add testcase for listing associated interpreters with basic closed ch…
LewisGaul 79be8a0
Fix a refleak.
ericsnowcurrently File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Core and Builtins/2019-11-22-14-34-47.bpo-38880.evcCPa.rst
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Added the ability to list interpreters associated with channel ends in the internal subinterpreters module. |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.