Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'interfaces': 0.04; 'inspired': 0.05; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'rewrite': 0.09; 'python': 0.11; 'jan': 0.12; 'random': 0.14; '"with"': 0.16; '(file': 0.16; 'folks,': 0.16; 'indication.': 0.16; 'partly': 0.16; 'readability': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'scope.': 0.16; 'subject:library': 0.16; 'sugar': 0.16; 'syntactic': 0.16; 'wrote:': 0.18; 'library': 0.18; 'wed,': 0.18; 'typing': 0.19; 'memory': 0.22; 'programming': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'library,': 0.24; 'question': 0.24; 'handling': 0.26; 'this:': 0.26; 'least': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'cool': 0.30; "i'm": 0.30; 'exceptions': 0.31; 'request,': 0.31; 'allows': 0.31; 'file': 0.32; 'could': 0.34; 'something': 0.35; 'convert': 0.35; 'licensed': 0.36; 'url:org': 0.36; 'integration': 0.37; 'level': 0.37; 'performance': 0.37; 'generic': 0.38; 'others.': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'legitimate': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'browser': 0.61; 'received:173': 0.61; 'spam.': 0.64; 'management': 0.65; 'account': 0.65; 'clicking': 0.73; 'closes': 0.84; 'malicious': 0.84; 'music,': 0.84; 'received:fios.verizon.net': 0.84; 'increases': 0.91; 'relating': 0.93; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Jan Reedy Subject: Re: cello library Date: Wed, 08 May 2013 17:06:31 -0400 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-251-66.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: 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: 41 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1368047204 news.xs4all.nl 15958 [2001:888:2000:d::a6]:49320 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44969 On 5/8/2013 6:01 AM, Chris Angelico wrote: > On Wed, May 8, 2013 at 7:39 PM, Mark Lawrence wrote: >> Hi folks, >> >> I thought some of you might find this interesting [link redacted] Unredacted: http://libcello.org/ > If this is a legit post, can you please elaborate on just _why_ we > would find it interesting? I'm leery of clicking random links like > that without at least some indication. It could be some cool Python > library, or it could be something relating to music, or it could be a > malicious site ready to compromise my browser and your Yahoo account > was compromised to send spam. Legitimate request, like some I have made of others. Since I trust Mark: "Cello is a GNU99 C library which brings higher level programming to C. Interfaces allow for structured design Duck Typing allows for generic functions Exceptions control error handling Constructors/Destructors aid memory management Syntactic Sugar increases readability C Library means excellent performance and integration ...Cello is licensed under BSD3." Partly inspired by Python, including this: /* "with" automatically closes file at end of scope. */ with (file in open($(File, NULL), "prices.bin", "wb"))) { ... } An interesting question is whether it could be used to convert or rewrite Python to C. __ Terry Jan Reedy