Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.01; 'python': 0.08; 'also:': 0.09; 'content-type:multipart/signed': 0.09; 'filename:fname piece:signature': 0.09; 'subject:" ': 0.10; '(at)': 0.16; '(dot)': 0.16; 'content-type:application/pgp- signature': 0.16; 'filename:fname piece:asc': 0.16; 'filename:fname:signature.asc': 0.16; 'received:209.85.213.174': 0.16; 'received:mail-yx0-f174.google.com': 0.16; 'subject:=': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.16; 'language,': 0.17; 'cc:no real name:2**0': 0.20; 'blog:': 0.21; 'cc:2**0': 0.22; 'header:In-Reply-To:1': 0.22; 'fine,': 0.23; 'itself,': 0.23; 'pm,': 0.24; 'second': 0.29; 'cc:addr:python.org': 0.30; 'example': 0.30; 'differently': 0.30; 'hansen': 0.30; 'received:24': 0.32; 'does': 0.32; 'probably': 0.33; '...': 0.34; 'but,': 0.34; 'fail': 0.34; 'behaving': 0.34; 'core': 0.36; 'but': 0.37; 'two': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.39; 'basic': 0.39; 'subject: (': 0.39; 'header:Reply-To:1': 0.71; 'reply-to:no real name:2**0': 0.71; 'mail:': 0.73; 'subject:+': 0.73; 'clearer': 0.84; 'actions,': 0.91; 'url:io': 0.93 Sender: Ixokai Date: Sun, 21 Aug 2011 21:49:03 -0700 From: Stephen Hansen MIME-Version: 1.0 To: me+list/python@ixokai.io Subject: Re: relative speed of incremention syntaxes (or "i=i+1" VS "i+=1") References: <4e513ceb$0$23863$e4fe514c@news2.news.xs4all.nl> <1313947658.3424.3.camel@thegeorge> <747a8223-0a9b-4691-8886-0a04433e54dc@glegroupsg2000goo.googlegroups.com> <4e51d7a9$0$29992$c3e8da3$5496439d@news.astraweb.com> <4E51DCFC.60106@ixokai.io> In-Reply-To: <4E51DCFC.60106@ixokai.io> X-Enigmail-Version: 1.1.1 OpenPGP: id=555B1FE5; url=http://id.ixokai.io/pub.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig911EAE69FD1A8F22CB4C3B0F" Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: me+list/python@ixokai.io 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: 56 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1313988549 news.xs4all.nl 23866 [2001:888:2000:d::a6]:33388 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:11992 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig911EAE69FD1A8F22CB4C3B0F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 8/21/11 9:37 PM, Stephen Hansen wrote: > But, +=3D is Python itself adding an unpredictable behavior into the co= re > language, with its own base types behaving =2E.. very differently to fundamental, basic appearing operators. Editing fail on my part. Similarly: > But for Python, all by itself, with nothing but built-in and basic > types, to have a situation where: >=20 > a =3D a + b > a +=3D b =2E.. would be clearer if the second example were "x +=3D y". > ... does two very distinctly different actions, even if in many or > even most circumstances the end-result is probably the same and probabl= y > fine, is my criticism. >=20 --=20 Stephen Hansen ... Also: Ixokai ... Mail: me+list/python (AT) ixokai (DOT) io ... Blog: http://meh.ixokai.io/ --------------enig911EAE69FD1A8F22CB4C3B0F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (Darwin) iQEcBAEBAgAGBQJOUd+/AAoJEKcbwptVWx/lGAwIAKoreF1oT+yLAS8aiG0FShQa 7taetBaQWWna2JMwp3EP199EWpJddX5BRnZfza+xrZigsmSCgpkfVUPvlO2kaZqL b5L8T18/nl9LapRf83NOZxrkTJBmTx5WXdiWovlNrzPSGprGgtAEmvWc0UewjPec GSAzRjIdTKP2y5WvW6RDa9fzaMq4EWeXi2IkSAjCl/5fNFSbbEnV+6fhIeoRNVmX lwOcvnDKonQBP95NcIp43ibvR3XKnFLw3yVTMI5LZ229D9xLHwM8hzLkQQHB0jBU TDtDoJ8Pjypvgx3FnN435ggHjsFdC/bn61GuYMqSGHUw3m+UHs1I6mBedW7/Cyk= =5dgp -----END PGP SIGNATURE----- --------------enig911EAE69FD1A8F22CB4C3B0F--