Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4a.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; 'subject:Python': 0.06; 'intermediate': 0.07; 'exist,': 0.09; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; '~ethan~': 0.09; 'python': 0.11; 'called.': 0.16; 'fallback': 0.16; 'filename:fname piece:signature': 0.16; 'wrote:': 0.18; 'rules': 0.22; 'header :User-Agent:1': 0.23; '(or': 0.24; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; "d'aprano": 0.31; 'default,': 0.31; 'steven': 0.31; 'but': 0.35; 'charset:us-ascii': 0.36; 'to:addr:python- list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:173': 0.61; 'subject:! ': 0.74 Date: Sat, 31 Jan 2015 20:31:17 -0800 From: Ethan Furman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Python is DOOMED! Again! References: <54c07d04$0$13012$c3e8da3$5496439d@news.astraweb.com> <6eb91c4b-92ff-44a8-b5a9-6ef04c71f4cb@googlegroups.com> <35a40ec6-3763-448b-9ea4-4a233a04979b@googlegroups.com> <54c1ccc8$0$13005$c3e8da3$5496439d@news.astraweb.com> <54c6d7c2$0$12992$c3e8da3$5496439d@news.astraweb.com> <54c83ab4$0$12982$c3e8da3$5496439d@news.astraweb.com> <54ca583e$0$13005$c3e8da3$5496439d@news.astraweb.com> <54ccc2fc$0$13009$c3e8da3$5496439d@news.astraweb.com> <54cd9a7a$0$12984$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: <54cd9a7a$0$12984$c3e8da3$5496439d@news.astraweb.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JREf9vw5nfKMVCGcTiJK9ekJwqetemW2t" 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: 45 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1422765114 news.xs4all.nl 2848 [2001:888:2000:d::a6]:60312 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:84980 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --JREf9vw5nfKMVCGcTiJK9ekJwqetemW2t Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable On 01/31/2015 07:16 PM, Steven D'Aprano wrote: >=20 > But by default, Python will fallback on __repr__ if __str__ doesn't exi= st, > or __str__ if __repr__ doesn't exist, or both. Or something. (I always > forget what the rules are exactly.) If __str__ is missing, __repr__ is called. If __repr__ is missing, object.__repr__ (or some intermediate base class'= __repr__) is called. -- ~Ethan~ --JREf9vw5nfKMVCGcTiJK9ekJwqetemW2t Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJUzawYAAoJENZ7D1rrH75N6qEQAIQGdnUcrSaeZkXeKdKL8Uhx nqLNdE9VdeF4dexRQMSCj/XMjVTFBH4QwEij4ZWbQnJWFHH7wazD9gZg54TzbaoF wmFdQyveyZdzoNseyTo2eYsJx8RTjuOszVL7ZM8hPGy31bC/8K1wEc6YtLXY4fCf JHf8e3zUtFQXl2C0JRloifTrpJNiq755NLm2G4GKa7+JxeXI3DoIG/kGOp5WAq7J 0Ui7td7TBqd1WLBO6Z76+hKZPKVcbNKcTL53SdKGFptxs99oJS4WBZ5W0wn8VMNg bkuEBPcSnMOQP3pzCRix12+pR8sAlxJ7t/J5ONNl4cLzZobidLpVqYKtP4bZ4a83 3RCkhzF9YGHfxldcZ0dhIa0zaUal+qPq1S7Dy3/is3C5ZNMFRuFE7r0G0NFlv6xk C9iUjQKKcT/+MJFa+VM6/5BZT2vN3lNfFfFHlaDLUohCMkN+tt1nHi0waFfPq3up yvQdDB2/l1DSHrMsjdHEHKiaDQg95aK/3ZINgPSl4MeytOW5fpLgO7iVlftzvx3H pS6mpN3SHdMcMwThug5rQMAGb3xGOSzrJkFJp7aiBFgd7ogz5EDavZJZeQBojpHj uaCMCaeH/+nWkTSkBvYrL7WVOKiq77K6UscyXD1bYh7CciSnuxau8vMWWjk1M0uz 7SzBfZ4p0SmCPEwRHojK =dl8x -----END PGP SIGNATURE----- --JREf9vw5nfKMVCGcTiJK9ekJwqetemW2t--