FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
bpo-32604: Expose the subinterpreters C-API in a "private" stdlib module. by ericsnowcurrently · Pull Request #1748 · python/cpython · GitHub
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.3k
(2.3k)
Actions
Projects
Security and quality
Insights
bpo-32604: Expose the subinterpreters C-API in a "private" stdlib module.
- #1748
#1748
Merged
ericsnowcurrently
merged 78 commits into
python:master
python/cpython:master
from
ericsnowcurrently:low-level-interpreters-module
ericsnowcurrently/cpython:low-level-interpreters-module
Copy head branch name to clipboard
Jan 30, 2018
Conversation
Commits
78
(78)
Checks
Files changed
Merged
bpo-32604: Expose the subinterpreters C-API in a "private" stdlib module.
#1748
ericsnowcurrently
merged 78 commits into
python:master
python/cpython:master
from
ericsnowcurrently:low-level-interpreters-module
ericsnowcurrently/cpython:low-level-interpreters-module
Copy head branch name to clipboard
Commits
Commits on Jan 26, 2018
Add the _interpreters module to the stdlib.
ericsnowcurrently
committed
be93a28
View commit details
Copy full SHA for be93a28
Browse repository at this point
Add create() and destroy().
ericsnowcurrently
committed
6f7a120
View commit details
Copy full SHA for 6f7a120
Browse repository at this point
Finish nearly all the create/destroy tests.
ericsnowcurrently
committed
941efdd
View commit details
Copy full SHA for 941efdd
Browse repository at this point
Add run_string().
ericsnowcurrently
committed
95e7342
View commit details
Copy full SHA for 95e7342
Browse repository at this point
Get tricky tests working.
ericsnowcurrently
committed
92aeaac
View commit details
Copy full SHA for 92aeaac
Browse repository at this point
Add a test for a still running interpreter when main exits.
ericsnowcurrently
committed
b6e2f3a
View commit details
Copy full SHA for b6e2f3a
Browse repository at this point
Add run_string_unrestricted().
ericsnowcurrently
committed
c15e79b
View commit details
Copy full SHA for c15e79b
Browse repository at this point
Exit out of the child process.
ericsnowcurrently
committed
8d809c7
View commit details
Copy full SHA for 8d809c7
Browse repository at this point
Resolve several TODOs.
ericsnowcurrently
committed
55bb53c
View commit details
Copy full SHA for 55bb53c
Browse repository at this point
Set up the execution namespace before switching threads.
ericsnowcurrently
committed
cad0a91
View commit details
Copy full SHA for cad0a91
Browse repository at this point
Run in a copy of __main__.
ericsnowcurrently
committed
1395c58
View commit details
Copy full SHA for 1395c58
Browse repository at this point
Close stdin and stdout after the proc finishes.
ericsnowcurrently
committed
e0e8176
View commit details
Copy full SHA for e0e8176
Browse repository at this point
Clean up a test.
ericsnowcurrently
committed
0eb4acc
View commit details
Copy full SHA for 0eb4acc
Browse repository at this point
Chain exceptions during cleanup.
ericsnowcurrently
committed
3562084
View commit details
Copy full SHA for 3562084
Browse repository at this point
Finish the module docs.
ericsnowcurrently
committed
8e7e724
View commit details
Copy full SHA for 8e7e724
Browse repository at this point
Fix docs.
ericsnowcurrently
committed
f8173fb
View commit details
Copy full SHA for f8173fb
Browse repository at this point
Fix includes.
ericsnowcurrently
committed
84cea38
View commit details
Copy full SHA for 84cea38
Browse repository at this point
Add _interpreters.is_shareable().
ericsnowcurrently
committed
48a1a38
View commit details
Copy full SHA for 48a1a38
Browse repository at this point
Add _PyObject_CheckShareable().
ericsnowcurrently
committed
bbdadb0
View commit details
Copy full SHA for bbdadb0
Browse repository at this point
Add _PyCrossInterpreterData.
ericsnowcurrently
committed
9a75fd2
View commit details
Copy full SHA for 9a75fd2
Browse repository at this point
Use the shared data in run() safely.
ericsnowcurrently
committed
f38b138
View commit details
Copy full SHA for f38b138
Browse repository at this point
Do not use a copy of the __main__ ns.
ericsnowcurrently
committed
0055e80
View commit details
Copy full SHA for 0055e80
Browse repository at this point
Never return the execution namespace.
ericsnowcurrently
committed
9030634
View commit details
Copy full SHA for 9030634
Browse repository at this point
Group sharing-related code.
ericsnowcurrently
committed
df53c6c
View commit details
Copy full SHA for df53c6c
Browse repository at this point
Fix a refcount.
ericsnowcurrently
committed
b27597f
View commit details
Copy full SHA for b27597f
Browse repository at this point
Add get_current() and enumerate().
ericsnowcurrently
committed
b69a643
View commit details
Copy full SHA for b69a643
Browse repository at this point
Add is_running().
ericsnowcurrently
committed
dc21da6
View commit details
Copy full SHA for dc21da6
Browse repository at this point
Add get_main().
ericsnowcurrently
committed
a4dad08
View commit details
Copy full SHA for a4dad08
Browse repository at this point
Fix an INCREF placement.
ericsnowcurrently
committed
bc818e5
View commit details
Copy full SHA for bc818e5
Browse repository at this point
Fix error propagation.
ericsnowcurrently
committed
d80ffdb
View commit details
Copy full SHA for d80ffdb
Browse repository at this point
enumerate -> list_all.
ericsnowcurrently
committed
f4b8819
View commit details
Copy full SHA for f4b8819
Browse repository at this point
Correctly handle a failed _shared_exception allocation.
ericsnowcurrently
committed
c1b2a79
View commit details
Copy full SHA for c1b2a79
Browse repository at this point
Add _interpreters.RunFailedError.
ericsnowcurrently
committed
406d1ec
View commit details
Copy full SHA for 406d1ec
Browse repository at this point
Return a simple RunFailedError.
ericsnowcurrently
committed
6a53db3
View commit details
Copy full SHA for 6a53db3
Browse repository at this point
(mostly) Fix the unit tests.
ericsnowcurrently
committed
f1e91b0
View commit details
Copy full SHA for f1e91b0
Browse repository at this point
Add tests for shareable objects.
ericsnowcurrently
committed
e7c581a
View commit details
Copy full SHA for e7c581a
Browse repository at this point
Add None as shareable.
ericsnowcurrently
committed
24095ab
View commit details
Copy full SHA for 24095ab
Browse repository at this point
Add a registry for shareable types.
ericsnowcurrently
committed
7ebae2f
View commit details
Copy full SHA for 7ebae2f
Browse repository at this point
Fix (and clean up) the cross-interpreter-data code.
ericsnowcurrently
committed
6d562bb
View commit details
Copy full SHA for 6d562bb
Browse repository at this point
Add basic channel code.
ericsnowcurrently
committed
237f743
View commit details
Copy full SHA for 237f743
Browse repository at this point
Stub out the other channel-related module functions.
ericsnowcurrently
committed
3b0ca21
View commit details
Copy full SHA for 3b0ca21
Browse repository at this point
Drop _cidclass.classname.
ericsnowcurrently
committed
064f710
View commit details
Copy full SHA for 064f710
Browse repository at this point
Drop some outdated TODO comments.
ericsnowcurrently
committed
703ac97
View commit details
Copy full SHA for 703ac97
Browse repository at this point
Add a mutex for the registry.
ericsnowcurrently
committed
e36e4d4
View commit details
Copy full SHA for e36e4d4
Browse repository at this point
Add _PyChannelState.mutex.
ericsnowcurrently
committed
b973cc4
View commit details
Copy full SHA for b973cc4
Browse repository at this point
Add a mutex for operating on the global list of channels.
ericsnowcurrently
committed
6b9e457
View commit details
Copy full SHA for 6b9e457
Browse repository at this point
Clean up the locking a little.
ericsnowcurrently
committed
12efb00
View commit details
Copy full SHA for 12efb00
Browse repository at this point
Implement _interpreters.channel_list_all().
ericsnowcurrently
committed
310d0ac
View commit details
Copy full SHA for 310d0ac
Browse repository at this point
Implement _interpreters.channel_close().
ericsnowcurrently
committed
8a24220
View commit details
Copy full SHA for 8a24220
Browse repository at this point
Add channel-related exceptions.
ericsnowcurrently
committed
7c8ede9
View commit details
Copy full SHA for 7c8ede9
Browse repository at this point
Add _interpreters.ChannelID.
ericsnowcurrently
committed
47d75de
View commit details
Copy full SHA for 47d75de
Browse repository at this point
Solidify the "close" story.
ericsnowcurrently
committed
153bbec
View commit details
Copy full SHA for 153bbec
Browse repository at this point
Drop channel_list_interpreters().
ericsnowcurrently
committed
79d31cd
View commit details
Copy full SHA for 79d31cd
Browse repository at this point
Register ChannelID as a cross-intepreter type.
ericsnowcurrently
committed
3aad28b
View commit details
Copy full SHA for 3aad28b
Browse repository at this point
_interpreters -> _xxsubinterpreters.
ericsnowcurrently
committed
db72825
View commit details
Copy full SHA for db72825
Browse repository at this point
Fix an un-initialized variable.
ericsnowcurrently
committed
6a0c0ff
View commit details
Copy full SHA for 6a0c0ff
Browse repository at this point
NULL-terminate kwlist for PyArg_ParseTupleAndKeywords().
ericsnowcurrently
committed
9d50730
View commit details
Copy full SHA for 9d50730
Browse repository at this point
Commits on Jan 27, 2018
Drop docs for now.
ericsnowcurrently
committed
b31d130
View commit details
Copy full SHA for b31d130
Browse repository at this point
Do not check for NULL from PyThreadState_Get().
ericsnowcurrently
committed
91e7c8b
View commit details
Copy full SHA for 91e7c8b
Browse repository at this point
Format "else" statements properly.
ericsnowcurrently
committed
7d2cfea
View commit details
Copy full SHA for 7d2cfea
Browse repository at this point
Always use braces with if statements.
ericsnowcurrently
committed
73dad33
View commit details
Copy full SHA for 73dad33
Browse repository at this point
Check for a NULL return from PyMem_NEW().
ericsnowcurrently
committed
ee7141c
View commit details
Copy full SHA for ee7141c
Browse repository at this point
Return the error.
ericsnowcurrently
committed
8ec5137
View commit details
Copy full SHA for 8ec5137
Browse repository at this point
Always check the result of PyDict_SetItemString().
ericsnowcurrently
committed
65d822e
View commit details
Copy full SHA for 65d822e
Browse repository at this point
Add typedefs.
ericsnowcurrently
committed
2df5aff
View commit details
Copy full SHA for 2df5aff
Browse repository at this point
_shared_exception -> _sharedexception
ericsnowcurrently
committed
9bb05cf
View commit details
Copy full SHA for 9bb05cf
Browse repository at this point
Free memory in the error case.
ericsnowcurrently
committed
633a3d3
View commit details
Copy full SHA for 633a3d3
Browse repository at this point
Whitelist instead of blacklist for richcompare ops.
ericsnowcurrently
committed
74e7241
View commit details
Copy full SHA for 74e7241
Browse repository at this point
Decref in the error case.
ericsnowcurrently
committed
bb8619a
View commit details
Copy full SHA for bb8619a
Browse repository at this point
Add a Misc/NEWS entry.
ericsnowcurrently
committed
d785573
View commit details
Copy full SHA for d785573
Browse repository at this point
Do not try to print a bytes object.
ericsnowcurrently
committed
f856035
View commit details
Copy full SHA for f856035
Browse repository at this point
Drop some outdated comments.
ericsnowcurrently
committed
ba94571
View commit details
Copy full SHA for ba94571
Browse repository at this point
Wrap long lines.
ericsnowcurrently
committed
9065001
View commit details
Copy full SHA for 9065001
Browse repository at this point
Fix some compiler warnings.
ericsnowcurrently
committed
2ebc68c
View commit details
Copy full SHA for 2ebc68c
Browse repository at this point
Always use PyMem_NEW().
ericsnowcurrently
committed
48291af
View commit details
Copy full SHA for 48291af
Browse repository at this point
Do not try to allocate too much space.
ericsnowcurrently
committed
39df95e
View commit details
Copy full SHA for 39df95e
Browse repository at this point
Add Windows build support.
ericsnowcurrently
committed
b07e928
View commit details
Copy full SHA for b07e928
Browse repository at this point
Commits on Jan 30, 2018
Drop Windows build support (for now).
ericsnowcurrently
committed
1bfed0f
View commit details
Copy full SHA for 1bfed0f
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL