Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: Allow PYTHONSTARTUP to define variables #2911

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
merged 2 commits into from
May 19, 2025

Conversation

philsc
Copy link
Contributor

@philsc philsc commented May 19, 2025

With the current //python/bin:repl implementation, any variables
defined in PYTHONSTARTUP are not actually available in the REPL
itself. I accidentally omitted this in the first patch.

This patch fixes the issue and adds appropriate tests.

philsc added 2 commits May 18, 2025 22:38
With the current `//python/bin:repl` implementation, any variables
defined in `PYTHONSTARTUP` are not actually available in the REPL
itself. I accidentally omitted this in the first patch.

This patch fixes the issue and adds appropriate tests.
@philsc philsc requested review from rickeylev and aignas as code owners May 19, 2025 05:44
Copy link
Collaborator

@aignas aignas left a comment

Choose a reason for hiding this comment

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

LGTM

@aignas aignas added this pull request to the merge queue May 19, 2025
Merged via the queue into bazel-contrib:main with commit acc8f82 May 19, 2025
3 checks passed
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