Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.028 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'xml,': 0.05; 'string': 0.09; 'http': 0.09; 'parsers': 0.09; 'statements': 0.09; 'ah,': 0.16; 'encodings,': 0.16; 'fine.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'hmm.': 0.16; 'quirks': 0.16; 'subject:GUI': 0.16; 'subject:library': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'handles': 0.22; 'unicode': 0.24; 'developers': 0.25; 'header:In-Reply-To:1': 0.27; 'michael': 0.29; 'am,': 0.29; 'xml': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'you?': 0.31; 'fine,': 0.31; 'maybe': 0.34; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; "i'll": 0.36; 'too': 0.37; 'list': 0.37; 'represent': 0.38; 'handle': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'skip:x 10': 0.40; 'how': 0.40; 'making': 0.63; 'to,': 0.72; 'cerebral': 0.84; 'compact,': 0.84; 'inflammatory': 0.84; 'protocol,': 0.84; 'clueless': 0.91; 'choice.': 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 :content-type; bh=e3PuWA44K1Xu8qoSpzlG13Q0NOVLJ3WcYs6jRVS9KvA=; b=mq5UhSIZCEkxPCB/WzrdryWh7qmhy8PVX6IjcppTP3Q/TONlA1VZnxZrDon6Yk+8sD 4O55Fac5fcEk0/gJ36jhxTFCus8UujZP4htNb35PgsgQz1mUrvD7weUjsnHphDPeWR0s I0bw4MCWN54JmyKp5b+V0dUWDo+OHaKBhHtL0PuOzKgiojYn04CIR0zktGTXm3DmlK5N awJNGpXHfux1UGbqd1+Uv0/Tc3ulrV1ICpj4v2PiwXEf9Jlr4VUsUlfa11c0RLL6xzR1 R7+HKUx4qcRExUl2zx3S/oaWX3oDSRR/sz7lMP6spPAHZppA+ATzjsUr1X0kX9wCXQuE SBXw== MIME-Version: 1.0 X-Received: by 10.52.117.16 with SMTP id ka16mr10930716vdb.43.1369693285351; Mon, 27 May 2013 15:21:25 -0700 (PDT) In-Reply-To: <51A3943E.8070107@gmail.com> References: <20130522154233.fe5263cb231c375fc60c7c9b@gmx.net> <20130523174145.22a6c46f586b0a1f656d2412@gmx.net> <20130526194310.9cdb1be80b42c7fdf0ba502f@gmx.net> <20130527173123.8ad4fc4af177161c8478be1a@gmx.net> <51A3943E.8070107@gmail.com> Date: Tue, 28 May 2013 08:21:25 +1000 Subject: Re: Future standard GUI library From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 34 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369693294 news.xs4all.nl 15888 [2001:888:2000:d::a6]:60808 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46229 On Tue, May 28, 2013 at 3:13 AM, Michael Torrie wrote: > On 05/27/2013 09:31 AM, Wolfgang Keller wrote: >>> HTTP handles that just fine, with your choice of XML, >> >> And XML is definitely not suitable as a marshalling format for a RPC >> protocol. >> >> XML-over-HTTP is a true cerebral flatulance of some hopelessly clueless >> moron. > > Hmm. Well I think there are a lot of very smart developers that are > using xml to marshal rpc and it's working fine. So either they know > something you don't, or maybe they are just busy making code that > functions and functions pretty well, instead of making inflammatory > statements on USENET. Sure XML is not very efficient or compact, but it > does handle unicode intrinsically through standard encodings, and a > plethora of parsers makes it a decent choice. I'll use XML when I have to, but if I'm inventing my own protocol, nope. There are just too many quirks with it. How do you represent an empty string named Foo? or equivalently How do you represent an empty list named Foo? The same way. How do you represent an empty dict/mapping named Foo? Lemme look up my documentation... ah, the same way. Does this seem right to you? ChrisA