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 ejguan
Recipients ejguan
Date 2020-10-22.19:08:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603393730.66.0.233789813553.issue42120@roundup.psfhosted.org>
In-reply-to
Content
At https://github.com/python/cpython/blob/c60394c7fc9cc09b16e9675a3eeb5844b6d8523f/PC/pyconfig.h#L196, the MACRO converts copysign to _copysign. This MACRO is defined 13 years ago and it's really dangerous to define a lower-letter MACRO at this low level. Currently, MSVC is supporting copysign (https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/copysign-copysignf-copysignl-copysign-copysignf-copysignl?view=vs-2019). I am requesting to remove this MACRO, as my customized copysign API will also be converted to _copysign on MSVC platform.
History
Date User Action Args
2020-10-22 19:08:50ejguansetrecipients: + ejguan
2020-10-22 19:08:50ejguansetmessageid: <1603393730.66.0.233789813553.issue42120@roundup.psfhosted.org>
2020-10-22 19:08:50ejguanlinkissue42120 messages
2020-10-22 19:08:50ejguancreate