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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21089>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to