Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #76916
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'attribute': 0.07; 'feature,': 0.09; 'subject:still': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '24,': 0.16; 'attributes.': 0.16; 'bug:': 0.16; 'descriptor': 0.16; 'descriptors': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'properties,': 0.16; 'subject:)?': 0.16; 'all.': 0.16; 'wrote:': 0.18; "python's": 0.19; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'deleted.': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'said,': 0.30; 'message-id:@mail.gmail.com': 0.30; 'run': 0.32; 'maybe': 0.34; 'subject:the': 0.34; 'classes': 0.35; 'received:google.com': 0.35; 'doing': 0.36; 'read': 0.60; 'dear': 0.65; 'subject:man': 0.84; 'to:none': 0.92 |
| 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:cc :content-type; bh=MSanaV4GK6wHZAWxZNcXt19nwprTdbR94qApYTvHK2I=; b=NTiLg33iw6RHy5kxXsQZc1rMgwxCXUzwi+7UhZ8aAbBNwHO1fcix/aWYApcJUGkcJE qg+ggUBW8rBF6gmtYQBmBmuje89fTECddks4RYsJ+tBb1Lr2GlU+ZbU3Ovencq7TQauC P/fOoVlz7nyr7C0N1v+t9z/lWfq1MhqtSUCLf9thzalfnwyH7daJ/77z51P2ql13vRNk fG8+fUwxg6ZdWerxJU/Xpfth4IXw4R06+LE7N0BqcTKRr/2AUxLj/QLaz01TezL4Axho py2paXXIr7E+mepfBAr6PN19Nz5U3vRT0yHR5HCGSZ+OQ6VqrqY54abrA553QGFqMq+O ENjg== |
| MIME-Version | 1.0 |
| X-Received | by 10.42.231.147 with SMTP id jq19mr16314830icb.30.1408837080094; Sat, 23 Aug 2014 16:38:00 -0700 (PDT) |
| In-Reply-To | <53F92553.60009@gmail.com> |
| References | <53F91A91.6080205@gmail.com> <CAPTjJmoTrJem_FvuKMdfbii5=q5T5JrrSXiuNLn879gOig=Maw@mail.gmail.com> <53F92553.60009@gmail.com> |
| Date | Sun, 24 Aug 2014 09:38:00 +1000 |
| Subject | Re: why the attribute be deleted still in dir(man)? |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| 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.13367.1408837088.18130.python-list@python.org> (permalink) |
| Lines | 12 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1408837088 news.xs4all.nl 2857 [2001:888:2000:d::a6]:43333 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:76916 |
Show key headers only | View raw
On Sun, Aug 24, 2014 at 9:35 AM, luofeiyu <elearn2014@gmail.com> wrote: > dear ChrisA ,dynamic is python feature, it is to create descriptor in run > time , > that is the meaning in the codes,and maybe it is a bug: > > the attribute can be displayed in dir(man) after be deleted. Then you don't need descriptors at all. Like I said, read up on doing classes Python's way. You don't need properties, just use normal attributes. ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: why the attribute be deleted still in dir(man)? Chris Angelico <rosuav@gmail.com> - 2014-08-24 09:38 +1000
csiph-web