From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,43aafc250d42730f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-12 17:00:04 PST Path: supernews.google.com!sn-xit-03!supernews.com!news-xfer.nuri.net!newsfeed.dacom.co.kr!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!ppp-5-193.5800-9.access.uk.worldonline.COM!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: controlled type in generic package? Date: Tue, 13 Feb 2001 00:32:28 -0000 Message-ID: <96a0pp$jpb8r$1@ID-25716.news.dfncis.de> References: <3A7FDA9A.C667090F@stn-atlas.de> <95p2ab$463$1@nnrp1.deja.com> <95sgl2$3c8$1@wanadoo.fr> <871yt8rvhq.fsf@deneb.enyo.de> NNTP-Posting-Host: ppp-5-193.5800-9.access.uk.worldonline.com (62.64.172.193) X-Trace: fu-berlin.de 982025850 20753691 62.64.172.193 (16 [25716]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: supernews.google.com comp.lang.ada:5207 Date: 2001-02-13T00:32:28+00:00 List-Id: Python is an interpreted language, and whilst classes can apparently be declared within nested blocks, they all effectively exist at the same level _within the interpreter_. In this sense, Python is a 'flat' language. A compiled language cannot handle things in this way. Similar comments apply to the LISP family and others. -- Nick Roberts http://www.AdaOS.org "Florian Weimer" wrote in message news:871yt8rvhq.fsf@deneb.enyo.de... > ... > Python permits class declarations anywhere a statement is allowed (in > fact, a class declaration *is* a statement). Python classes are > usually used to implement closures: > ... > Python is not a flat language at all.