We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d12b705 commit c628ffcCopy full SHA for c628ffc
Python/pylifecycle.c
@@ -863,6 +863,10 @@ pycore_interp_init(PyThreadState *tstate)
863
if (_tstate->c_stack_hard_limit == 0) {
864
_Py_InitializeRecursionLimits(tstate);
865
}
866
+#ifdef _Py_TIER2
867
+ // Ensure the buffer is to be set as NULL for MSVC
868
+ _tstate->buffer = NULL;
869
+#endif
870
PyInterpreterState *interp = tstate->interp;
871
PyStatus status;
872
PyObject *sysmod = NULL;
0 commit comments