Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #48302
| References | <28b472c8-969c-4f32-82e9-5772656ffe5b@googlegroups.com> |
|---|---|
| Date | 2013-06-15 15:32 +0100 |
| Subject | Re: Potential Python 3.3.2 pyvenv bug on Windows |
| From | Fábio Santos <fabiosantosart@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3378.1371306779.3114.python-list@python.org> (permalink) |
On Sat, Jun 15, 2013 at 3:17 PM, <peter@psantoro.net> wrote: > I've recently hit an issue with pyvenv 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 pydocs.py. > > Has anyone else hit this issue? > > Peter > -- > http://mail.python.org/mailman/listinfo/python-list Don't think that's so good of a fix. Following documentation for open-source software is already hard enough on windows, people will not be able to use pydoc.py because it was renamed. It would be slightly better to use pydoc.bat (which could then call pydocs.py), but even so it would be pretty bad. -- Fábio Santos
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Potential Python 3.3.2 pyvenv bug on Windows peter@psantoro.net - 2013-06-15 07:17 -0700
Re: Potential Python 3.3.2 pyvenv bug on Windows Fábio Santos <fabiosantosart@gmail.com> - 2013-06-15 15:32 +0100
Re: Potential Python 3.3.2 pyvenv bug on Windows peter@psantoro.net - 2013-06-15 10:08 -0700
csiph-web