aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Python/errors.c
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.com>2024-05-28 07:38:50 +0300
committershadchin <shadchin@yandex-team.com>2024-05-28 07:50:41 +0300
commitd4d193c13a5c0c9911ae5cec21f49b777f4b2469 (patch)
tree5b65db726e2c5e5b359632634e164e5607a493bd /contrib/tools/python3/Python/errors.c
parent5f0b6de771b58fe0bce9845389b3766b10d882a8 (diff)
downloadydb-d4d193c13a5c0c9911ae5cec21f49b777f4b2469.tar.gz
Revert commit rXXXXXX, Remove unnecessary patch
ee6f033bb92851c8403ba801453b3b964d12ec87
Diffstat (limited to 'contrib/tools/python3/Python/errors.c')
-rw-r--r--contrib/tools/python3/Python/errors.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/tools/python3/Python/errors.c b/contrib/tools/python3/Python/errors.c
index 6c46d1f213..68e740425b 100644
--- a/contrib/tools/python3/Python/errors.c
+++ b/contrib/tools/python3/Python/errors.c
@@ -1265,6 +1265,11 @@ PyErr_NewException(const char *name, PyObject *base, PyObject *dict)
PyObject *bases = NULL;
PyObject *result = NULL;
+#if defined(__has_feature)
+# if __has_feature(memory_sanitizer)
+ __msan_unpoison_string(name);
+# endif
+#endif
const char *dot = strrchr(name, '.');
if (dot == NULL) {
_PyErr_SetString(tstate, PyExc_SystemError,