]> granicus.if.org Git - python/commitdiff
Issue #18224: Removed pydoc script from created venv, as it causes problems on Window...
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Sun, 30 Jun 2013 21:06:52 +0000 (22:06 +0100)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Sun, 30 Jun 2013 21:06:52 +0000 (22:06 +0100)
Lib/venv/scripts/nt/pydoc.py [deleted file]
Lib/venv/scripts/posix/pydoc [deleted file]
Misc/NEWS

diff --git a/Lib/venv/scripts/nt/pydoc.py b/Lib/venv/scripts/nt/pydoc.py
deleted file mode 100644 (file)
index dbf2db7..0000000
+++ /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 (executable)
index 9233771..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#!__VENV_PYTHON__
-if __name__ == '__main__':
-    import sys, pydoc
-    sys.exit(pydoc.cli())
-
index 884ae94dde04ec7724ae73528fb7d926aea0780d..17d8f601a256907bb710a79d32f5d5270774fe9e 100644 (file)
--- 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.