summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/pythonrun.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index cf2c777..69a7b51 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -230,11 +230,7 @@ Py_Finalize(void)
#endif
#ifdef Py_TRACE_REFS
- if (
-#ifdef MS_WINDOWS /* Only ask on Windows if env var set */
- Py_GETENV("PYTHONDUMPREFS") &&
-#endif /* MS_WINDOWS */
- _Py_AskYesNo("Print left references?")) {
+ if (Py_GETENV("PYTHONDUMPREFS")) {
_Py_PrintReferences(stderr);
}
#endif /* Py_TRACE_REFS */