GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bpo-30439: Add some helpful low-level functions for subinterpreters. by ericsnowcurrently · Pull Request #1802 · python/cpython

Conversation

@ericsnowcurrently

@ericsnowcurrently ericsnowcurrently commented May 24, 2017 •
edited by bedevere-bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

(based on #1748)

https://bugs.python.org/issue30439

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@the-knights-who-say-ni the-knights-who-say-ni added the CLA signed label May 24, 2017
@ericsnowcurrently ericsnowcurrently mentioned this pull request May 24, 2017
bpo-30439: Add a basic high-level interpreters module. #1803
Closed
@Mariatta Mariatta added needs rebase and removed needs rebase labels Oct 9, 2017
@ericsnowcurrently
ericsnowcurrently force-pushed the low-level-extra-functions branch from 9704487 to b26f7b4 Compare November 27, 2017 23:24
ericsnowcurrently added 25 commits December 4, 2017 18:05
@ericsnowcurrently
Add the _interpreters module to the stdlib.
8eb5adf
@ericsnowcurrently
Add create() and destroy().
457567f
@ericsnowcurrently
Finish nearly all the create/destroy tests.
e6af9f3
@ericsnowcurrently
Add run_string().
335967e
@ericsnowcurrently
Get tricky tests working.
d2df973
@ericsnowcurrently
Add a test for a still running interpreter when main exits.
b70a496
@ericsnowcurrently
Add run_string_unrestricted().
6f2d28f
@ericsnowcurrently
Exit out of the child process.
80a931b
@ericsnowcurrently
Resolve several TODOs.
6aa7d9c
@ericsnowcurrently
Set up the execution namespace before switching threads.
083e13c
@ericsnowcurrently
Run in a copy of __main__.
ce081a7
@ericsnowcurrently
Close stdin and stdout after the proc finishes.
ec05cf5
@ericsnowcurrently
Clean up a test.
fe90466
@ericsnowcurrently
Chain exceptions during cleanup.
9082017
@ericsnowcurrently
Finish the module docs.
21865d4
@ericsnowcurrently
Fix docs.
0342a4f
@ericsnowcurrently
Fix includes.
e9d9b04
@ericsnowcurrently
Add _interpreters.is_shareable().
722ae94
@ericsnowcurrently
Add _PyObject_CheckShareable().
061ae13
@ericsnowcurrently
Add _PyCrossInterpreterData.
9a365ec
@ericsnowcurrently
Use the shared data in run() safely.
8f299d4
@ericsnowcurrently
Do not use a copy of the __main__ ns.
92029a1
@ericsnowcurrently
Never return the execution namespace.
52c9c2f
@ericsnowcurrently
Group sharing-related code.
a797883
@ericsnowcurrently
Fix a refcount.
777838a
ericsnowcurrently added 3 commits December 11, 2017 18:37
@ericsnowcurrently
Add get_current() and enumerate().
ab8f175
@ericsnowcurrently
Add is_running().
c50c51c
@ericsnowcurrently
Add get_main().
271d20d
@ericsnowcurrently
ericsnowcurrently force-pushed the low-level-extra-functions branch from b26f7b4 to 271d20d Compare December 12, 2017 01:37
@ncoghlan

ncoghlan commented Jan 23, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Just noting that ./python -m test test__interpreters segfaults for me in a release build (debug builds appear to work fine, and all the other tests pass normally in the release build)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brettcannon brettcannon added the awaiting review label Feb 2, 2018
@ericsnowcurrently

ericsnowcurrently commented May 29, 2018

Copy link
Copy Markdown
Member Author

I'll loop back to this once PEP 554 advances or I need something like this for the test suite.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ericsnowcurrently ericsnowcurrently closed this May 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

awaiting review

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@ericsnowcurrently @ncoghlan @brettcannon @Mariatta @the-knights-who-say-ni
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.