Christian Heimes <li...@cheimes.de> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32711>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to