[Pyrex] [bug report] Object reference count incorrect

Jani Hakala jahakala at cc.jyu.fi
Sat May 3 13:06:37 CEST 2003


jkoshy at FreeBSD.ORG (Joseph Koshy) writes:

> 
> Sample session (variant A)
> +-+-+
>   $ python
>   Python 2.2.1 (#1, Oct  5 2002, 11:19:44)
>   [GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
>   Type "help", "copyright", "credits" or "license" for more information.
>   >>> import refbug
>   >>> x = refbug.RefBug()
>   __init__
>   >>> del x             # nothing happens
>
I have tested reference counting by assigning None to a reference i.e.
        x = None

Jani Hakala




More information about the Pyrex mailing list