aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-09-08 07:04:57 +0300
committerMatti Picus <matti.picus@gmail.com>2020-09-08 07:04:57 +0300
commita498ef00c31b22a26dadb1a772ac9a6d65fb17fd (patch)
tree2365967d7006e236994c9c0398d24ba48b919fa4
parentfirst alpha release of PyPy 3.7 v7.3.2alpha0 (diff)
downloadpypy-a498ef00c31b22a26dadb1a772ac9a6d65fb17fd.tar.gz
pypy-a498ef00c31b22a26dadb1a772ac9a6d65fb17fd.tar.bz2
pypy-a498ef00c31b22a26dadb1a772ac9a6d65fb17fd.zip
do not display IRC_TOPIC even on this alpha release. Can be overridden from envrelease-pypy3.7-v7.3.2rc1
-rwxr-xr-xpypy/interpreter/app_main.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pypy/interpreter/app_main.py b/pypy/interpreter/app_main.py
index e4d5bb1b6b..4dac90a48a 100755
--- a/pypy/interpreter/app_main.py
+++ b/pypy/interpreter/app_main.py
@@ -869,8 +869,7 @@ def run_command_line(interactive,
if hasattr(sys, '__interactivehook__'):
run_toplevel(sys.__interactivehook__)
pypy_version_info = getattr(sys, 'pypy_version_info', sys.version_info)
- irc_topic = pypy_version_info[3] != 'final' or (
- readenv and os.getenv('PYPY_IRC_TOPIC'))
+ irc_topic = readenv and os.getenv('PYPY_IRC_TOPIC')
success = run_toplevel(interactive_console, mainmodule,
quiet=quiet or not irc_topic)
except SystemExit as e: