• Kirill Smelkov's avatar
    golang: Fix print(_pystr) · 08dc5d10
    Kirill Smelkov authored
    On Python2 without .tp_print printing _pystr crashes as:
    
        pygolang$ ./golang/testprog/golang_test_str.py
        Traceback (most recent call last):
          File "./golang/testprog/golang_test_str.py", line 39, in <module>
            main()
          File "./golang/testprog/golang_test_str.py", line 34, in main
            print("print(qq(b)):", qq(sb))
        RuntimeError: print recursion
    
    See added comments for details.
    08dc5d10
build.py 9.71 KB