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 asn
Recipients asn, cstratak, eitan.adler, gregory.p.smith, martin.panter, miss-islington, pmpp, resmord, serhiy.storchaka, siddhesh, terry.reedy, vstinner, xdegaye, yan12125, ztane
Date 2019-04-30.14:53:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556636030.75.0.639484729335.issue33012@roundup.psfhosted.org>
In-reply-to
Content
Looking at:

https://github.com/python/cpython/commit/359a2f3daba49fde0d3a07fb3c7a8b051c450d08

This is not fixing the underlying issue but hiding it. The right fix would be to use a union for ml_meth providing members for the 3 different function. So the developer could assign them correctly and the compiler would warn if he would do something wrong. Casting to (void *) is just hiding the problem not fixing it!
History
Date User Action Args
2019-04-30 14:53:50asnsetrecipients: + asn, terry.reedy, gregory.p.smith, vstinner, pmpp, xdegaye, martin.panter, serhiy.storchaka, ztane, eitan.adler, siddhesh, yan12125, cstratak, miss-islington, resmord
2019-04-30 14:53:50asnsetmessageid: <1556636030.75.0.639484729335.issue33012@roundup.psfhosted.org>
2019-04-30 14:53:50asnlinkissue33012 messages
2019-04-30 14:53:50asncreate