[issue24777] sys.getrefcount takes no arguments

Berker Peksag report at bugs.python.org
Sun Aug 2 21:13:41 CEST 2015


Berker Peksag added the comment:

Thanks for the report. Some functions like getrefcount in sys module are specific to CPython. Other Python implementations like IronPython(it doesn't use reference counting for example) may not implement or partially implement those functions.

sys.getrefcount() works fine with CPython:

    >>> import sys
    >>> l = 5
    >>> sys.getrefcount(l)
    35

----------
nosy: +berker.peksag
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
title: sys.getrefcount takes no arguments ?? -> sys.getrefcount takes no arguments

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24777>
_______________________________________


More information about the Python-bugs-list mailing list