[Python-bugs-list] [ python-Bugs-483815 ] "get_referents" is a bad name

noreply@sourceforge.net noreply@sourceforge.net
Tue, 20 Nov 2001 07:21:13 -0800


Bugs item #483815, was opened at 2001-11-20 07:21
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=483815&group_id=5470

Category: Python Interpreter Core
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Zooko Ozoko (zooko)
Assigned to: Nobody/Anonymous (nobody)
Summary: "get_referents" is a bad name

Initial Comment:
I'm very pleased to see `gc.get_referents()' in 2.2! 
It is a very helpful function.  But `referent' can mean
either the referrer or the referree.  webster.com
defines it as "one that refers or is referred to;
especially : the thing that a symbol (as a word or
sign) stands for".

That is: it allows either, but "especially" the
referree.  The meaning of `gc.get_referents()' is to
get the referrers.  I suggest to change the name to
`gc.get_referrers()'.

Regards,

Zooko

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

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