How to stop python3 prints a reference counter after each command

After each command, python prints the number of links. I want to stop printing a link account, how can I do this?

Example:

>>> s = 'Hello World'
[786699 refs]
>>> str(s)
'Hello World'
[786699 refs]
>>> 
+4
source share
1 answer

This is not standard behavior:

$ python
Python 3.3.2 (default, May 21 2013, 11:50:47) 
[GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Running with pythonstartup.py
>>> s = 'Hello World'
>>> str(s)
'Hello World'
>>> 

You can get this because you configured assembly with --with-pydebugas described in this entry.

+5
source

All Articles