[issue18224] pyvenv pydoc.py script causing AttributeErrors on Windows

2013-07-02 Thread Éric Araujo
Éric Araujo added the comment: That’s too bad; it’s annoying to lose the ability to just use “pydoc x” if a venv is activated. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18224

[issue18224] pyvenv pydoc.py script causing AttributeErrors on Windows

2013-06-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset af837bf390d0 by Vinay Sajip in branch '3.3': Issue #18224: Removed pydoc script from created venv, as it causes problems on Windows and adds no value over and above python -m pydoc ... http://hg.python.org/cpython/rev/af837bf390d0 New changeset

[issue18224] pyvenv pydoc.py script causing AttributeErrors on Windows

2013-06-28 Thread Vinay Sajip
Vinay Sajip added the comment: On further reflection: the pydoc script adds no value over and above python -m pydoc args, so I think I will remove it. -- assignee: - vinay.sajip versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue18224] pyvenv pydoc.py script causing AttributeErrors on Windows

2013-06-17 Thread Peter Santoro
Peter Santoro added the comment: As requested, I've attached a small test script called shadow.py. Steps to reproduce: 1) pyvenv.py bugtest 2) copy the attached shadow.py script to bugtest and bugtest\scripts 3) cd bugtest 4) run shadow.py (first entry in sys.path is refers to bugtest

[issue18224] pyvenv pydoc.py script causing AttributeErrors on Windows

2013-06-17 Thread Vinay Sajip
Vinay Sajip added the comment: the fact that Python initializes sys.path[0] to contain the directory of the executing script Of course, silly me. Sorry. I would prefer to remove the pydoc script altogether. The other alternative would be to rename it to pydoc-script.py and have a pydoc.exe

[issue18224] pyvenv pydoc.py script causing AttributeErrors on Windows

2013-06-17 Thread Vinay Sajip
Vinay Sajip added the comment: Rethinking, renaming seems more reasonable. I've posted about it to python-dev: http://mail.python.org/pipermail/python-dev/2013-June/126904.html -- ___ Python tracker rep...@bugs.python.org

[issue18224] pyvenv pydoc.py script causing AttributeErrors on Windows

2013-06-16 Thread Vinay Sajip
Vinay Sajip added the comment: The pyvenv pydoc script should be in the venv's Scripts folder, which is not (normally) on sys.path - the venv's Lib\site-packages is. Can you provide a small script which demonstrates the problem while confirming that the venv's Scripts folder has not been

[issue18224] pyvenv pydoc.py script causing AttributeErrors on Windows

2013-06-15 Thread Peter Santoro
New submission from Peter Santoro: I've recently hit an issue with pyvenv in Python 3.3.2 that is causing AttributeErrors in other packages on Windows (see https://groups.google.com/forum/?fromgroups#!topic/pylons-discuss/FpOSMDpdvy4). Here's what I believe is going on: On Windows, the

[issue18224] pyvenv pydoc.py script causing AttributeErrors on Windows

2013-06-15 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18224 ___ ___ Python-bugs-list mailing list