fixed python3 stdout/stderr line buffering

This commit is contained in:
Unbit
2013-05-21 14:19:33 +02:00
parent 0e1de3d6e8
commit 5bf55220d4
2 changed files with 9 additions and 1 deletions
+4
View File
@@ -22,6 +22,10 @@
#define HAS_NOT_PyFrame_GetLineNumber
#endif
#if PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION == 0
#define HAS_NO_ERRORS_IN_PyFile_FromFd
#endif
#if PY_MAJOR_VERSION > 2
#define PYTHREE
#endif