Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #97221
| Path | csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone05.am1.xlned.com!bcyclone05.am1.xlned.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.007 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'subject:Question': 0.05; 'builtin': 0.07; 'message-id:@4ax.com': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '>in': 0.16; 'entry.': 0.16; 'function?': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:class': 0.16; 'subject:variable': 0.16; 'url:home': 0.18; '2015': 0.20; 'sep': 0.22; 'header:X-Complaints-To:1': 0.26; '+0000': 0.27; 'objects': 0.29; 'code': 0.30; 'entry': 0.31; 'another': 0.32; 'tue,': 0.34; 'exist': 0.35; 'instance': 0.35; "isn't": 0.35; 'created': 0.36; 'assigned': 0.36; 'to:addr:python- list': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'received:org': 0.37; 'charset:us-ascii': 0.37; 'why': 0.39; 'to:addr:python.org': 0.40; 'john': 0.61; 'guaranteed': 0.67; '(utc),': 0.84; '>if': 0.84; 'dennis': 0.91; 'received:108': 0.93 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
| Subject | Re: Question re class variable |
| Date | Tue, 29 Sep 2015 20:41:09 -0400 |
| Organization | IISS Elusive Unicorn |
| References | <3948d9cd-24b1-4a3b-8ed0-46bb60a8d738@googlegroups.com> <mudnfg$cqo$1@speranza.aioe.org> <mue84o$l3l$1@reader1.panix.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | adsl-108-68-178-61.dsl.klmzmi.sbcglobal.net |
| X-Newsreader | Forte Agent 6.00/32.1186 |
| X-No-Archive | YES |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.250.1443573691.28679.python-list@python.org> (permalink) |
| Lines | 21 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1443573691 news.xs4all.nl 23774 [2001:888:2000:d::a6]:38165 |
| X-Complaints-To | abuse@xs4all.nl |
| X-Received-Bytes | 3436 |
| X-Received-Body-CRC | 2197274650 |
| Xref | csiph.com comp.lang.python:97221 |
Show key headers only | View raw
On Tue, 29 Sep 2015 14:44:40 +0000 (UTC), John Gordon <gordon@panix.com>
declaimed the following:
>In <mudnfg$cqo$1@speranza.aioe.org> alister <alister.nospam.ware@ntlworld.com> writes:
>
>> why not simply use pythons builtin id function?
>> each new instance of an object is automatically assigned a unique ID
>
>It's only guaranteed to be unique for objects that exist at the same time.
>
>If an object is created and destroyed and then another new object is
>created, the ID of those two objects can be the same.
Since the code binds the object to the resultant entry
(registry[id]=self) -- it isn't going to go away without deliberately
rebinding the entry.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Question re class variable plewto@gmail.com - 2015-09-29 02:27 -0700
Re: Question re class variable alister <alister.nospam.ware@ntlworld.com> - 2015-09-29 10:00 +0000
Re: Question re class variable John Gordon <gordon@panix.com> - 2015-09-29 14:44 +0000
Re: Question re class variable Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-09-29 20:41 -0400
Re: Question re class variable Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2015-09-29 12:40 +0200
Re: Question re class variable Anssi Saari <as@sci.fi> - 2015-09-29 14:17 +0300
Re: Question re class variable Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2015-09-29 14:02 +0200
Re: Question re class variable Steven D'Aprano <steve@pearwood.info> - 2015-09-29 22:06 +1000
Re: Question re class variable Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-09-29 08:21 -0400
Re: Question re class variable jmp <jeanmichel@sequans.com> - 2015-09-29 13:02 +0200
Re: Question re class variable jmp <jeanmichel@sequans.com> - 2015-09-29 13:11 +0200
csiph-web