所以,每当我在 Python 中做任何事情时,我都会不断得到这个 refs count 输出。例如:
xxxxx@li282-82:~$ 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]
xxxxx@li282-82:~$ logout
如何关闭它?!
最佳答案
在我看来,您的解释器是用 debug flag 编译的.要摆脱它,我认为您需要重新编译。
关于python - 关闭 python 引用计数输出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21036364/