[issue21089] macro SET_SYS_FROM_STRING_BORROW doesn't get unset
Eric Snow
report at bugs.python.org
Fri Mar 28 21:19:14 CET 2014
New submission from Eric Snow:
In Python/sysmodule.c (_PySys_Init), the SET_SYS_FROM_STRING_BORROW macro is created right next to SET_SYS_FROM_STRING. However, while SET_SYS_FROM_STRING is unset at the end of _PySys_Init, SET_SYS_FROM_STRING_BORROW is not unset. I expect that it should be.
#endif
#undef SET_SYS_FROM_STRING
+#undef SET_SYS_FROM_STRING_BORROW
if (PyErr_Occurred())
----------
messages: 215075
nosy: brett.cannon, eric.snow
priority: low
severity: normal
stage: needs patch
status: open
title: macro SET_SYS_FROM_STRING_BORROW doesn't get unset
versions: Python 3.4, Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21089>
_______________________________________
More information about the Python-bugs-list
mailing list