On 06/19/2017 08:06 AM, Skip Montanaro wrote:
On Mon, Jun 19, 2017 at 9:20 AM, Ethan Furman wrote:

Reference counting is a valid garbage collecting mechanism, therefore Python is 
also a GC language.

Garbage collection is usually thought of as a way to remove responsibility for 
tracking of live data from the user.
Reference counting doesn't do that.

Caveat:  I'm not a CS major.

Question: In the same way that Object Orientation is usually thought of as data 
hiding?

Comment: Except in rare cases (e.g. messing with __del__), the Python user does not have to think about nor manage live data, so reference counting seems to meet that requirement. Programming at the C level is not working in Python, and many Python niceties simply don't exist there.

--
~Ethan~
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to