[PYTHON MATRIX-SIG] may be a bug

Tser-Yuan (Brian) Yang tbyang@icf.llnl.gov
Fri, 21 Jun 1996 14:34:00 -0700 (PDT)


The following may have been posted or even corrected. If so, I apologize
for sending junk mail.

>>> from Numeric import *
>>> a=array((1,2))
>>> import sys
>>> sys.getrefcount(a)
2
>>> a
1 2
>>> sys.getrefcount(a)
5
>>> b=1
>>> sys.getrefcount(a)
4

Something is holding extra references

				Brian Yang


=================
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================