[Python-checkins] bpo-40244: Remove XLC's support from the noreturn flag (GH-20588)

Batuhan Taskaya webhook-mailer at python.org
Tue Jun 2 04:19:57 EDT 2020


https://github.com/python/cpython/commit/033d10bd21d962a59c6c4fc503092046baa451a1
commit: 033d10bd21d962a59c6c4fc503092046baa451a1
branch: master
author: Batuhan Taskaya <batuhanosmantaskaya at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-06-02T01:19:52-07:00
summary:

bpo-40244: Remove XLC's support from the noreturn flag (GH-20588)



Automerge-Triggered-By: @pablogsal

files:
M Include/pyport.h

diff --git a/Include/pyport.h b/Include/pyport.h
index 63d3b81de5d23..bdbd0c942f682 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -829,10 +829,10 @@ extern _invalid_parameter_handler _Py_silent_invalid_parameter_handler;
 #endif
 
 /* Mark a function which cannot return. Example:
+   PyAPI_FUNC(void) _Py_NO_RETURN PyThread_exit_thread(void);
 
-   PyAPI_FUNC(void) _Py_NO_RETURN PyThread_exit_thread(void); */
+   XLC support is intentionally omitted due to bpo-40244 */
 #if defined(__clang__) || \
-    defined(__xlc__) || \
     (defined(__GNUC__) && \
      ((__GNUC__ >= 3) || \
       (__GNUC__ == 2) && (__GNUC_MINOR__ >= 5)))



More information about the Python-checkins mailing list