[New-bugs-announce] [issue18224] pyvenv pydoc.py script causing AttributeErrors on Windows

Peter Santoro report at bugs.python.org
Sat Jun 15 16:27:14 CEST 2013

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 pyvenv pydoc script has a .py extension - so import finds it instead of the system's pydoc module.  On Linux, the pyvenv pydoc script doesn't have an extension - so import finds the system's pydoc module.

I believe the Windows pyvenv pydoc.py script should be renamed to something like pydocs.py to prevent AttributeErrors.

components: Windows
messages: 191210
nosy: peter at psantoro.net
priority: normal
severity: normal
status: open
title: pyvenv pydoc.py script causing AttributeErrors on Windows
type: behavior
versions: Python 3.3

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list