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


Groups > comp.lang.python > #9036

Re: Implicit initialization is EXCELLENT

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'ah,': 0.09; 'compiler.': 0.09; 'exceptions,': 0.09; 'through.': 0.09; 'c++': 0.12; 'am,': 0.13; 'wrote:': 0.15; 'c++.': 0.16; 'compiler,': 0.16; 'eckhardt': 0.16; 'exceptions.': 0.16; 'fail,': 0.16; 'macros.': 0.16; 'looked': 0.16; '>>>': 0.16; "haven't": 0.21; 'header:In-Reply- To:1': 0.22; 'referring': 0.23; 'code': 0.24; 'effect': 0.28; 'thu,': 0.28; 'message-id:@mail.gmail.com': 0.28; 'sorry,': 0.29; 'btw,': 0.30; 'oop': 0.30; 'typically': 0.33; 'rather': 0.33; 'actually': 0.33; 'to:addr:python-list': 0.34; 'e.g.': 0.34; 'legacy': 0.35; 'skip:" 10': 0.36; 'response': 0.37; 'but': 0.37; 'received:google.com': 0.38; 'received:209.85.161': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.38; 'signal': 0.38; 'think': 0.38; 'to:addr:python.org': 0.39; 'received:209': 0.40; 'your': 0.60; 'construction': 0.62; 'failure': 0.73; 'beg': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=2j1763sXtOL0oSmX0HXZSB6iM2IIsV/PQvXEp1QKvIk=; b=qRbJosERVk8Jhbo98uXxFp9u//I2AcAWOnfviOLj6cFLOR5R0hjPYQWKQa0bU8poYK KnoACcyi5UgeIZqhlLcNbO0X0/tl/tazMmE3qNabc8jDnLCVB8cKmN9GBU8/HckHiSNH QKTLRzmHT0Ngpb3bnjqiz0Lijo4164DxaQEmA=
MIME-Version 1.0
In-Reply-To <ci2ge8-ps4.ln1@satorlaser.homedns.org>
References <4e132d0f$0$29973$c3e8da3$5496439d@news.astraweb.com> <iuvoj9$erb$1@speranza.aioe.org> <rscde8-p6n.ln1@satorlaser.homedns.org> <mailman.705.1309969639.1164.python-list@python.org> <ci2ge8-ps4.ln1@satorlaser.homedns.org>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Thu, 7 Jul 2011 09:58:47 -0600
Subject Re: Implicit initialization is EXCELLENT
To Python <python-list@python.org>
Content-Type text/plain; charset=ISO-8859-1
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.748.1310054359.1164.python-list@python.org> (permalink)
Lines 19
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1310054359 news.xs4all.nl 21858 [2001:888:2000:d::a6]:43779
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:9036

Show key headers only | View raw


On Thu, Jul 7, 2011 at 1:12 AM, Ulrich Eckhardt
<ulrich.eckhardt@dominolaser.com> wrote:
>>> Just guessing, is it legacy, C-with-classes code rather than C++ code
>>> perhaps? Haven't looked at wx for a while. Such code typically lacks
>>> understanding of exceptions, which are the only way to signal failure
>>> from e.g. constructors.
>>
>> No, wx is C++ through and through.
>
> No namespaces. No templates but macros. No exceptions. No C++.
>
> Sorry, I beg to differ. BTW, they say themselves that they tolerate but not
> use exceptions, so they actually need two-stage construction if construction
> can fail, and for exactly the guessed legacy reasons.

Ah, I think I misunderstood your meaning.  By "C-with-classes" I
thought you were referring to the practice of OOP in C, and my
response was to the effect that building wx requires a C++ compiler,
not just a C compiler.

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


Thread

Implicit initialization is EXCELLENT Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-07-06 01:26 +1000
  Re: Implicit initialization is EXCELLENT "Michel Claveau - MVP"<enleverLesX_XXmcX@XmclavXeauX.com.invalid> - 2011-07-05 21:04 +0200
  Re: Implicit initialization is EXCELLENT Mel <mwilson@the-wire.com> - 2011-07-05 15:27 -0400
    Re: Implicit initialization is EXCELLENT Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2011-07-06 08:49 +0200
      Re: Implicit initialization is EXCELLENT Ian Kelly <ian.g.kelly@gmail.com> - 2011-07-06 10:26 -0600
        Re: Implicit initialization is EXCELLENT Mel <mwilson@the-wire.com> - 2011-07-06 12:36 -0400
        Re: Implicit initialization is EXCELLENT Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2011-07-07 09:12 +0200
          Re: Implicit initialization is EXCELLENT Ian Kelly <ian.g.kelly@gmail.com> - 2011-07-07 09:58 -0600
  Re: Implicit initialization is EXCELLENT Stefaan Himpe <stefaan.himpe@gmail.com> - 2011-07-05 21:31 +0200
    Re: Implicit initialization is EXCELLENT John Gordon <gordon@panix.com> - 2011-07-05 21:02 +0000
      Re: Implicit initialization is EXCELLENT John Gordon <gordon@panix.com> - 2011-07-05 21:58 +0000
    Re: Implicit initialization is EXCELLENT Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-07-06 21:44 +1000
      Re: Implicit initialization is EXCELLENT Stefaan Himpe <stefaan.himpe@gmail.com> - 2011-07-06 14:44 +0200
        Re: Implicit initialization is EXCELLENT Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-07-07 09:40 +1000
  Re: Implicit initialization is EXCELLENT rantingrick <rantingrick@gmail.com> - 2011-07-05 18:53 -0700
    Re: Implicit initialization is EXCELLENT Chris Angelico <rosuav@gmail.com> - 2011-07-06 12:44 +1000
      Re: Implicit initialization is EXCELLENT rantingrick <rantingrick@gmail.com> - 2011-07-05 20:45 -0700
        Re: Implicit initialization is EXCELLENT Chris Angelico <rosuav@gmail.com> - 2011-07-06 13:54 +1000
    Re: Implicit initialization is EXCELLENT Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2011-07-06 08:45 +0200

csiph-web