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 <[email protected]>
<http://bugs.python.org/issue24777>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com