Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #48302

Re: Potential Python 3.3.2 pyvenv bug on Windows

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <fabiosantosart@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Windows': 0.02; 'causing': 0.04; 'open-source': 0.04; 'subject:Python': 0.06; 'linux,': 0.07; 'subject:bug': 0.07; 'fix.': 0.09; "system's": 0.09; 'windows,': 0.09; 'cc:addr:python-list': 0.11; 'windows': 0.15; '.py': 0.16; 'finds': 0.16; 'issue?': 0.16; 'renamed': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'pfxlen:0': 0.19; 'slightly': 0.19; 'import': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; "i've": 0.25; 'script': 0.25; '(see': 0.26; '15,': 0.26; 'extension': 0.26; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; '(which': 0.31; 'bad.': 0.31; 'anyone': 0.31; 'url:python': 0.33; 'could': 0.34; 'received:209.85': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'module.': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'should': 0.36; 'received:209': 0.37; 'issue': 0.38; 'pm,': 0.38; 'enough': 0.39; 'url:mail': 0.40; 'even': 0.60; 'believe': 0.68; 'to:addr:peter': 0.84; 'subject:Potential': 0.91; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=vbrMLGAQvkpAPC5IapdrEJwFDVhK8+e+5ryDpGtW/Vk=; b=vHxNeX6IhpNfiGANqdqL2qBxxM2a3kXhqxb29dCe29QosmQhgVNl5CdnPMM6gWafYL zM3irBtHpvyDPhe09O4uTxWZj2iaJ7aFaYFu8/C1oO8ftfRZx9SqwxXRU8ywdiQ42tig 8NO8S+bO6m+vWm4pbT0b/v7XuTuo+XGgTb6odNFpSj7BS2rvnxvT8kzZkdeBA6qWQjPZ UId8/FnFKVg71eAEL/ldGVHRqAJlzCMbJa2K73NrmPQbqrTlW9X2ReiRyu67yis61VTq nJ0rWUIEh9io12RvvmSJG4WZ6R9kzAVUh7E+65Z5xDerVWarWDC8DmG4Qm735fgQEakM vJtA==
MIME-Version 1.0
X-Received by 10.229.106.162 with SMTP id x34mr2903650qco.68.1371306776726; Sat, 15 Jun 2013 07:32:56 -0700 (PDT)
In-Reply-To <28b472c8-969c-4f32-82e9-5772656ffe5b@googlegroups.com>
References <28b472c8-969c-4f32-82e9-5772656ffe5b@googlegroups.com>
Date Sat, 15 Jun 2013 15:32:56 +0100
Subject Re: Potential Python 3.3.2 pyvenv bug on Windows
From Fábio Santos <fabiosantosart@gmail.com>
To peter@psantoro.net
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Cc "python-list@python.org" <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3378.1371306779.3114.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1371306779 news.xs4all.nl 15966 [2001:888:2000:d::a6]:50022
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:48302

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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