因此,每当我在Python中执行任何操作时,我都会得到这个参考计数输出。例如:关闭python引用计数输出
[email protected]:~$ python
Python 2.7.3 (default, Feb 28 2013, 20:42:30)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
[40347 refs]
>>> django.VERSION
(1, 5, 2, 'final', 0)
[40349 refs]
>>>
[40349 refs]
[19961 refs]
[email protected]:~$ logout
如何关闭该功能?
你有什么设置运行在解释器启动时可能会启用GC调试标志? – user2357112
你是否编译过Python,并打开了一些调试标志? (*只是猜测*)。 –
尝试运行:''Python -S'' –