Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76916 > unrolled thread

Re: why the attribute be deleted still in dir(man)?

Started byChris Angelico <rosuav@gmail.com>
First post2014-08-24 09:38 +1000
Last post2014-08-24 09:38 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: why the attribute be deleted still in dir(man)? Chris Angelico <rosuav@gmail.com> - 2014-08-24 09:38 +1000

#76916 — Re: why the attribute be deleted still in dir(man)?

FromChris Angelico <rosuav@gmail.com>
Date2014-08-24 09:38 +1000
SubjectRe: why the attribute be deleted still in dir(man)?
Message-ID<mailman.13367.1408837088.18130.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web