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 ztane
Recipients cstratak, eitan.adler, martin.panter, miss-islington, pmpp, serhiy.storchaka, siddhesh, vstinner, xdegaye, ztane
Date 2018-05-28.03:53:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Well, there's only one problem with casting to void *: while converting the function pointer to another *is* standard-compliant, and GCC is being just hypersensitive here, casting a function pointer to void * isn't, though it is a common extension (

Pedantically the correct way is to cast to a function pointer with no prototype (empty parentheses) and from that to the target type. See for example. See for example
Date User Action Args
2018-05-28 03:53:34ztanesetrecipients: + ztane, vstinner, pmpp, xdegaye, martin.panter, serhiy.storchaka, eitan.adler, siddhesh, cstratak, miss-islington
2018-05-28 03:53:34ztanesetmessageid: <>
2018-05-28 03:53:34ztanelinkissue33012 messages
2018-05-28 03:53:34ztanecreate