Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #104646
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | "Charles T. Smith" <cts.private.yahoo@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | hasattr() or "x in y"? |
| Date | Fri, 11 Mar 2016 21:44:27 -0000 (UTC) |
| Organization | A noiseless patient Spider |
| Lines | 6 |
| Message-ID | <nbve7c$nbo$1@dont-email.me> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Fri, 11 Mar 2016 21:44:27 -0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="177e1664974e843811fc618206653a33"; logging-data="23928"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+dUXZMbQO1DG4gFxFlSaOIqkclHPd5gLs=" |
| User-Agent | Pan/0.133 (House of Butterflies) |
| Cancel-Lock | sha1:Ujib1W5OAP4z1b8WEtjcT0+ll+k= |
| Xref | csiph.com comp.lang.python:104646 |
Show key headers only | View raw
From the performance point of view, which is better: - hasattr() - x in y TIA cts
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
hasattr() or "x in y"? "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2016-03-11 21:44 +0000
Re: hasattr() or "x in y"? Chris Angelico <rosuav@gmail.com> - 2016-03-12 08:55 +1100
Re: hasattr() or "x in y"? "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2016-03-11 21:53 +0000
Re: hasattr() or "x in y"? Chris Angelico <rosuav@gmail.com> - 2016-03-12 09:04 +1100
Re: hasattr() or "x in y"? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-03-11 22:05 +0000
Re: hasattr() or "x in y"? Grant Edwards <invalid@invalid.invalid> - 2016-03-11 22:00 +0000
Re: hasattr() or "x in y"? "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2016-03-11 22:18 +0000
Re: hasattr() or "x in y"? Grant Edwards <invalid@invalid.invalid> - 2016-03-11 22:30 +0000
csiph-web