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


Groups > comp.lang.python > #21183

Re: The original command python line

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 2012-03-04 02:19 -0500
Subject Re: The original command python line
Newsgroups comp.lang.python
Message-ID <mailman.371.1330845608.3037.python-list@python.org> (permalink)

Show all headers | 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