Alexey Izbyshev <izbys...@ispras.ru> added the comment:

I've added 'assert' to macros. Since 'typeof' seems to be disallowed in Python, 
I've used 'unsigned int' as the type of an intermediate variable. 
Another alternative is 'assert(0 <= (c) && (c) <= 255)', but 'c' will be 
evaluated several times.

----------

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

Reply via email to