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


Groups > comp.lang.python > #21183

Re: The original command python line

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <jeanpierreda@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'imports': 0.07; 'subject:python': 0.10; 'am,': 0.12; 'exception': 0.12; 'classes,': 0.13; 'code).': 0.16; 'come?': 0.16; 'subject:command': 0.16; 'thing?': 0.16; 'unequal': 0.16; 'cc:addr :python-list': 0.16; 'wrote:': 0.18; 'cc:no real name:2**0': 0.21; 'file,': 0.21; 'header:In-Reply-To:1': 0.22; 'breaks': 0.23; 'implicit': 0.23; 'cc:2**0': 0.26; 'classes': 0.26; 'module': 0.26; "i'm": 0.28; 'message-id:@mail.gmail.com': 0.29; 'explicit': 0.29; 'fine.': 0.29; 'cc:addr:python.org': 0.29; 'handling': 0.30; 'sun,': 0.30; 'source': 0.32; 'objects': 0.32; 'things': 0.35; 'two': 0.36; 'received:google.com': 0.37; 'using': 0.37; 'received:209.85': 0.38; 'received:209': 0.39; 'header:Received:6': 0.61; 'subject:The': 0.69; 'subject:original': 0.84
Received-SPF pass (google.com: domain of jeanpierreda@gmail.com designates 10.68.130.72 as permitted sender) client-ip=10.68.130.72;
Authentication-Results mr.google.com; spf=pass (google.com: domain of jeanpierreda@gmail.com designates 10.68.130.72 as permitted sender) smtp.mail=jeanpierreda@gmail.com; dkim=pass header.i=jeanpierreda@gmail.com
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Ia6OSzTgiwSwMclCk0iL1bF4Im3c8YKEjfXpo8dyHrg=; b=r6iMWyls8Z3UbKRHuaL6Pdme4GLnQuZZSINJOicuDkcp8tw8/EMoQ7Fkllq8TdDMnf iswsWExUP8aU+7wzFJa/ktZPoKQgPEckkciSB/l9Lj6WgdBv+0kyaSV4BQAI1T09lXfF qWtrp0mNOyKu2I48epHXmBLFARraEGrq18lGlINpRqsahuYDvTbiI/VlbtHh9JjfMmVm 8+S92KzWtHIV4Ew1mAWmLWws7r3DtZ7YBkP49gK8F8dCSi29EVVbtnSgasFyW/BLcaFE IQpYv+BQZzVo9Szf3dYMlCcfWbtkDi3W7C8nolzinPHKc+ikDSvdHdLGm4rK3+aU1yqq wX4w==
MIME-Version 1.0
In-Reply-To <c6eb29-ko5.ln1@archaeopteryx.softver.org.mk>
References <4obb29-os3.ln1@archaeopteryx.softver.org.mk> <CAMZYqRS=kSo7LG5i26E0qgfXxovKvjBy4XiTEpquw4H1OVV2dg@mail.gmail.com> <mailman.370.1330840664.3037.python-list@python.org> <c6eb29-ko5.ln1@archaeopteryx.softver.org.mk>
From Devin Jeanpierre <jeanpierreda@gmail.com>
Date Sun, 4 Mar 2012 02:19:25 -0500
Subject Re: The original command python line
To Damjan Georgievski <gdamjan@gmail.com>
Content-Type text/plain; charset=UTF-8
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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.371.1330845608.3037.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1330845608 news.xs4all.nl 6840 [2001:888:2000:d::a6]:59283
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:21183

Show key headers only | View raw


On Sun, Mar 4, 2012 at 1:20 AM, Damjan Georgievski <gdamjan@gmail.com> wrote:
> How come?
> I'm using explicit relative imports, I thought they were the new thing?

Explicit relative imports are fine. Implicit relative imports can
create multiple module objects for the same source file, which breaks
things like exception handling (because exception types are unequal if
they're from different classes, even if the different classes come
from two executions of the same source code).

-- Devin

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

The original command python line Damjan Georgievski <gdamjan@gmail.com> - 2012-03-04 06:38 +0100
  Re: The original python command line Damjan Georgievski <gdamjan@gmail.com> - 2012-03-04 06:52 +0100
  Re: The original command python line Chris Rebert <clp2@rebertia.com> - 2012-03-03 21:48 -0800
    Re: The original command python line Grant Edwards <invalid@invalid.invalid> - 2012-03-04 14:34 +0000
  Re: The original command python line Chris Rebert <clp2@rebertia.com> - 2012-03-03 21:57 -0800
    Re: The original command python line Damjan Georgievski <gdamjan@gmail.com> - 2012-03-04 07:20 +0100
      Re: The original command python line Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-03-04 02:19 -0500

csiph-web