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 a basic high-level interpreters module. by ericsnowcurrently · Pull Request #1803 · python/cpython

Conversation

@ericsnowcurrently

@ericsnowcurrently ericsnowcurrently commented May 24, 2017 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

(based on #1802)

Note that, unlike the preceding 2 patches, this one adds a "public" module to the stdlib. As such it requires more careful attention to the API/abstractions, as well as stronger consensus from python-dev and the other major Python implementations. As such, this PR is equally a proof-of-concept and a proposal.

Sorry, something went wrong.

Uh oh!

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

All reactions
ericsnowcurrently added 20 commits May 23, 2017 16:02
@ericsnowcurrently
Add the _interpreters module to the stdlib.
7cc14ad
@ericsnowcurrently
Add create() and destroy().
84920ad
@ericsnowcurrently
Finish nearly all the create/destroy tests.
89f16ee
@ericsnowcurrently
Add run_string().
189a2fd
@ericsnowcurrently
Get tricky tests working.
e144c96
@ericsnowcurrently
Add a test for a still running interpreter when main exits.
f3c7194
@ericsnowcurrently
Add run_string_unrestricted().
2b7b6c7
@ericsnowcurrently
Exit out of the child process.
8368582
@ericsnowcurrently
Resolve several TODOs.
9669ca7
@ericsnowcurrently
Set up the execution namespace before switching threads.
79edd9c
@ericsnowcurrently
Run in a copy of __main__.
17b0e28
@ericsnowcurrently
Close stdin and stdout after the proc finishes.
7d8f744
@ericsnowcurrently
Clean up a test.
80ab76a
@ericsnowcurrently
Chain exceptions during cleanup.
7afda96
@ericsnowcurrently
Finish the module docs.
4e07f7a
@ericsnowcurrently
Fix docs.
060a720
@ericsnowcurrently
Add get_current() and enumerate().
a85df93
@ericsnowcurrently
Add is_running().
f605ae7
@ericsnowcurrently
Add get_main().
9704487
@ericsnowcurrently
Add the interpreters module.
7dadbe5
@the-knights-who-say-ni the-knights-who-say-ni added the CLA signed label May 24, 2017
@mention-bot

mention-bot commented May 24, 2017

Copy link
Copy Markdown

@ericsnowcurrently, thanks for your PR! By analyzing the history of the files in this pull request, we identified @akuchling, @doko42 and @Yhg1s to be potential reviewers.

All reactions

Sorry, something went wrong.

Uh oh!

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

@1st1
1st1 self-requested a review May 25, 2017 04:45
@1st1

1st1 commented May 25, 2017

Copy link
Copy Markdown
Member

(added myself as a reviewer as I want to look in detail at this patch later; but we'll need more eyes on this)

All reactions

Sorry, something went wrong.

Uh oh!

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

@ericsnowcurrently

ericsnowcurrently commented May 25, 2017

Copy link
Copy Markdown
Member Author

I'm closing this for now as I do not expect it to be appropriate to merge in the short term. After further discussion on python-ideas, etc. I may revive it.

All reactions

Sorry, something went wrong.

Uh oh!

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

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

Reviewers

@1st1 1st1 Awaiting requested review from 1st1

Uh oh!

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

Assignees

No one assigned

Labels

None yet

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.

4 participants

@ericsnowcurrently @mention-bot @1st1 @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 01402520 — 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.