Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.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.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; '(using': 0.07; 'c++,': 0.07; 'important,': 0.07; 'subject:help': 0.08; 'oop': 0.09; 'cc:addr:python-list': 0.11; '(note': 0.16; 'cc:name:python list': 0.16; 'janssen': 0.16; 'subject:object': 0.16; 'types,': 0.16; 'unambiguous': 0.16; 'worst': 0.16; 'wow,': 0.16; 'wrote:': 0.18; 'machine': 0.22; 'programming': 0.22; 'cc:addr:python.org': 0.22; 'guys': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'header :In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'dec': 0.30; 'message-id:@mail.gmail.com': 0.30; 'along': 0.30; "i'm": 0.30; 'probably': 0.32; 'guess': 0.33; 'subject:the': 0.34; 'basic': 0.35; 'classes': 0.35; 'case,': 0.35; 'objects': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'c++': 0.36; 'in.': 0.36; 'science.': 0.36; 'clear': 0.37; 'being': 0.38; 'generic': 0.38; 'mapping': 0.38; 'fact': 0.38; 'pm,': 0.38; 'most': 0.60; "you're": 0.61; 'map': 0.64; 'different': 0.65; 'to:addr:gmail.com': 0.65; 'confusion.': 0.84; 'presumably': 0.84; 'subject:base': 0.84; 'universe': 0.84; 'washington': 0.93; '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; bh=OARhHjQj6x6moNnTabt4IQ8+HbyPRR9Q5vpUKnnUEIQ=; b=s/vCh7c+I6XfMOUJAXFx7yh32DOC0jY4vWGHevcqyS7JRpi08VOAm6X8jAFizeXENF HNlJaGl1MRaq8Zv1ZT0PvJcPARObLIH8silyhE+V9L1A0qyFxoi/VMYN/rrpTSKJn63C 8hGYURgkW7ADya9x+whqbT8Z9IIxgb/5Rwt9WqgtbYt9bwd7uIcsi8uOG7wgNc8srv/d 39+N4JcgTitrTgYc6k7+SHxUEJ1nCZIYAjhSakEoQDXyeYFxHI+3NJGmLRIpLvdhzr7/ nieeAqY2ldMUair3h+O1sugMKbkH15ud0ORolMp7/3iTupZHt5zJNMoX6VlsiIxKMP1D U1PA== MIME-Version: 1.0 X-Received: by 10.194.235.230 with SMTP id up6mr13395805wjc.30.1386558314431; Sun, 08 Dec 2013 19:05:14 -0800 (PST) In-Reply-To: References: <52a44afc$0$30003$c3e8da3$5496439d@news.astraweb.com> Date: Sun, 8 Dec 2013 19:05:14 -0800 Subject: Re: interactive help on the base object From: Mark Janssen To: Chris Angelico Content-Type: text/plain; charset=ISO-8859-1 Cc: Python List 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1386558320 news.xs4all.nl 2844 [2001:888:2000:d::a6]:35274 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:61352 On Sun, Dec 8, 2013 at 6:44 PM, Chris Angelico wrote: > On Mon, Dec 9, 2013 at 10:01 AM, Mark Janssen wrote: >> (Note bene: as a comparison, C++ is very UNAMBIGUOUS about >> this fact -- all objects inherit from concrete machine types, which is >> why it remains important, *despite* being one of the worst to do OOP >> in. Its *type model* is probably the most clear of any >> object-oriented language). > > Factually wrong. In C++, it is actually *impossible* to inherit from a > "concrete machine type", by which presumably you mean the classic > types int/char/float etc. Wow, you guys trip me out, but I guess I've been working in a different universe where I was mapping classes into basic types (using generic programming along with typedef). I'm going to have to re-think all this confusion. But, in any case, if you don't have a way to map your abstract objects into machine types, you're working on magic, not computer science. MarkJ Tacoma, Washington