[Python-bugs-list] [ python-Bugs-466894 ] property <-> PyGetSetDef

noreply@sourceforge.net noreply@sourceforge.net
Mon, 01 Oct 2001 10:36:39 -0700


Bugs item #466894, was opened at 2001-10-01 09:52
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=466894&group_id=5470

Category: Type/class unification
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Walter Dörwald (doerwalter)
Assigned to: Guido van Rossum (gvanrossum)
Summary: property <-> PyGetSetDef

Initial Comment:
Now that "getset" has been renamed to "property" 
maybe "PyGetSetDef" should be renamed 
to "PyPropertyDef"?

----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2001-10-01 10:36

Message:
Logged In: YES 
user_id=6380

I don't think so -- this doesn't map directly onto
properties. The property type takes up to three callables
and a doc string. The tp_getset mechanism takes two C
functions. While this is very similar, I think it's better
to keep the C-level names different to avoid confusion.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=466894&group_id=5470