From 61d003a8f147a99c22a63f9e259631e51dd66970 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Sun, 30 Jun 2013 22:06:52 +0100 Subject: [PATCH] Issue #18224: Removed pydoc script from created venv, as it causes problems on Windows and adds no value over and above python -m pydoc ... --- Lib/venv/scripts/nt/pydoc.py | 4 ---- Lib/venv/scripts/posix/pydoc | 5 ----- Misc/NEWS | 3 +++ 3 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 Lib/venv/scripts/nt/pydoc.py delete mode 100755 Lib/venv/scripts/posix/pydoc diff --git a/Lib/venv/scripts/nt/pydoc.py b/Lib/venv/scripts/nt/pydoc.py deleted file mode 100644 index dbf2db71b49..00000000000 --- a/Lib/venv/scripts/nt/pydoc.py +++ /dev/null @@ -1,4 +0,0 @@ -#!__VENV_PYTHON__ -if __name__ == '__main__': - import sys, pydoc - sys.exit(pydoc.cli()) diff --git a/Lib/venv/scripts/posix/pydoc b/Lib/venv/scripts/posix/pydoc deleted file mode 100755 index 92337711289..00000000000 --- a/Lib/venv/scripts/posix/pydoc +++ /dev/null @@ -1,5 +0,0 @@ -#!__VENV_PYTHON__ -if __name__ == '__main__': - import sys, pydoc - sys.exit(pydoc.cli()) - diff --git a/Misc/NEWS b/Misc/NEWS index 884ae94dde0..17d8f601a25 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -38,6 +38,9 @@ Core and Builtins Library ------- +- Issue #18224: Removed pydoc script from created venv, as it causes problems + on Windows and adds no value over and above python -m pydoc ... + - Issue #18155: The csv module now correctly handles csv files that use a delimter character that has a special meaning in regexes, instead of throwing an exception.