Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 5, 2018

Like Python, IDLE optionally runs one startup file in the Shell window
before presenting the first interactive input prompt. For IDLE,
option -s runs a file named in environmental variable IDLESTARTUP or
PYTHONSTARTUP; -r file runs file. Python sets file to the startup
file name before running the file and unsets it before the first
prompt. IDLE now does the same when run normally, without the -n
option.
(cherry picked from commit 22c82be)

Co-authored-by: Terry Jan Reedy [email protected]

https://bugs.python.org/issue32984

Like Python, IDLE optionally runs one startup file in the Shell window
before presenting the first interactive input prompt.  For IDLE,
option -s runs a file named in environmental variable IDLESTARTUP or
PYTHONSTARTUP; -r file runs file.  Python sets __file__ to the startup
file name before running the file and unsets it before the first
prompt.  IDLE now does the same when run normally, without the -n
option.
(cherry picked from commit 22c82be)

Co-authored-by: Terry Jan Reedy <[email protected]>
@miss-islington
Copy link
Contributor Author

@terryjreedy: Backport status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Contributor Author

@terryjreedy: Backport status check is done, and it's a success ✅ .

@terryjreedy terryjreedy closed this Mar 5, 2018
@terryjreedy terryjreedy reopened this Mar 5, 2018
@miss-islington miss-islington deleted the backport-22c82be-3.6 branch March 5, 2018 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants