Antoine Pitrou added the comment:

It seems to me that, when a boolean is to be represented, most C
programmers would expect a char rather than an int. Also an int would
make the object larger without any benefit.

As for type checking, Angelo's patch already does a PyBool_Check against
the argument. Is anything more required?

----------
nosy: +pitrou

_____________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1720595>
_____________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to