Nick Coghlan <ncogh...@gmail.com> added the comment:

Rather than fiddling with the warnings filters, wouldn't it be easier to just 
catch BytesWarning and return False in that case?

----------
nosy: +ncoghlan

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

Reply via email to