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: 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: =?ISO-8859-1?Q?F=E1bio_Santos?= To: peter@psantoro.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Sat, Jun 15, 2013 at 3:17 PM, 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 scrip= t 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=E1bio Santos