This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients ZackerySpytz, corona10, nascheme, petdance, ronaldoussoren, serhiy.storchaka, shihai1991, steve.dower, vstinner
Date 2020-06-03.00:18:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591143484.33.0.711729672583.issue39573@roundup.psfhosted.org>
In-reply-to
Content
> bpo-39573: Convert Py_TYPE() to a static inline function (GH-20290)

This change broke pycurl:
https://github.com/pycurl/pycurl/pull/636

Extract of its current code:
"""
    /* Initialize the type of the new type objects here; doing it here
     * is required for portability to Windows without requiring C++. */
    p_Curl_Type = &Curl_Type;
    p_CurlMulti_Type = &CurlMulti_Type;
    p_CurlShare_Type = &CurlShare_Type;
    Py_TYPE(&Curl_Type) = &PyType_Type; 
    Py_TYPE(&CurlMulti_Type) = &PyType_Type; 
    Py_TYPE(&CurlShare_Type) = &PyType_Type; 
"""
History
Date User Action Args
2020-06-03 00:18:04vstinnersetrecipients: + vstinner, nascheme, ronaldoussoren, serhiy.storchaka, steve.dower, corona10, ZackerySpytz, shihai1991, petdance
2020-06-03 00:18:04vstinnersetmessageid: <1591143484.33.0.711729672583.issue39573@roundup.psfhosted.org>
2020-06-03 00:18:04vstinnerlinkissue39573 messages
2020-06-03 00:18:04vstinnercreate