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 serhiy.storchaka, steve.dower, vstinner
Date 2017-01-11.00:26:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
noinline_msvs.patch: implement _Py_NO_INLINE for Microsoft Visual Studio

#elif defined(_MSC_VER)
#  define _Py_NO_INLINE __declspec(noinline)

I didn't push this change because I don't have access to a Windows VM yet.

@Steve: Does noinline_msvs.patch look good to you?

I decided to make the macro private because I don't know if _Py_NO_INLINE can be combined with PyAPI_FUNC() which also uses __declspec(): __declspec(dllexport).

Is it possible to use __declspec() multiple times per function declaration?
Date User Action Args
2017-01-11 00:26:08vstinnersetrecipients: + vstinner, serhiy.storchaka, steve.dower
2017-01-11 00:26:08vstinnersetmessageid: <>
2017-01-11 00:26:08vstinnerlinkissue29234 messages
2017-01-11 00:26:08vstinnercreate