Klaus Demo bjoern / fa73210
Fix tricky Python 2 only refcount bug. Closes #113, #114 Jonas Haag 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2929 #define _Bytes_Resize(obj, len) _PyString_Resize(obj, len)
3030 #define _FromLong(n) PyInt_FromLong(n)
3131 #define _File_Check(file) PyFile_Check(file)
32 #define _Unicode_EncodeLatin1(u) u
32 #define _Unicode_EncodeLatin1(u) (Py_INCREF(u),u)
3333 #endif
3434
3535 #endif /* _PY2PY3_H */