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 christian.heimes
Recipients christian.heimes, lukasz.langa, matrixise, serhiy.storchaka
Date 2018-02-01.13:10:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517490601.85.0.467229070634.issue32711@psf.upfronthosting.co.za>
In-reply-to
Content
In my experience, Serhiy's example won't work. C doesn't guarantee that the functions will not be called with an unsupported op. Either my proposal or Victor's proposal are the correct way to solve the warning. Victor's proposal is even better because it makes the interpreter fail when an invalid operator is used.
History
Date User Action Args
2018-02-01 13:10:01christian.heimessetrecipients: + christian.heimes, lukasz.langa, serhiy.storchaka, matrixise
2018-02-01 13:10:01christian.heimessetmessageid: <1517490601.85.0.467229070634.issue32711@psf.upfronthosting.co.za>
2018-02-01 13:10:01christian.heimeslinkissue32711 messages
2018-02-01 13:10:01christian.heimescreate