[Python-bugs-list] [Bug #110688] Reuben Sumner: Py_REF_COUNT (PR#43)

noreply@sourceforge.net noreply@sourceforge.net
Thu, 7 Sep 2000 15:06:26 -0700


Bug #110688, was updated on 2000-Jul-31 14:14
Here is a current snapshot of the bug.

Project: Python
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 3
Summary: Reuben Sumner: Py_REF_COUNT (PR#43)

Details: Jitterbug-Id: 43
Submitted-By: Guido van Rossum <guido@CNRI.Reston.VA.US>
Date: Fri, 30 Jul 1999 13:52:16 -0400
Version: None
OS: None

------- Forwarded Message

Date:    Tue, 20 Jul 1999 10:53:34 +0300
From:    Reuben Sumner <rasumner@iname.com>
To:      guido@python.org
Subject: Py_REF_COUNT

I posted a message through DejaNews which didn't seem to propogate (at
least it didn't reach here).

Try the following in a Python with Py_REF_DEBUG but without Py_TRACE_REFS

class C:
	def __init__(self): pass

while 1:
	c=C()

Stop it after a while and look at the reference count printed!  Python
is not actually using all that memory though.  With Py_TRACE_REFS things
are ok.  I can't figure it out.  The class instance dealloc routine is rather
hairy.

With Py_TRACE_REFS some code of mine is doing some really bizarre things
but I would rather deal with one thing at a time.

Python version is 1.5.2 (tried on at least two platforms, both using gcc)

Many thanks,

Reuben

------- End of Forwarded Message



====================================================================
Audit trail:
Wed Aug 04 12:12:39 1999	guido	moved from incoming to open

Follow-Ups:

Date: 2000-Aug-28 11:52
By: jhylton

Comment:
This report is a bit too vague to be useful.  I've queried the original poster to see if he is still having problems.

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

Date: 2000-Sep-07 15:06
By: jhylton

Comment:
Please do triage on this bug.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=110688&group_id=5470