Serhiy Storchaka added the comment:

BytesWarning should be added in the table in warnings.rst (and check that all 
other built-in warning categories are in this table). It is worth to mention 
the -b option.

And I think the docstring of BytesWarning should be corrected. "Unicode" should 
be used rather that "str" since str and bytes is the same in 2.7.

----------
nosy: +benjamin.peterson, r.david.murray, serhiy.storchaka
stage:  -> patch review
type:  -> enhancement

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

Reply via email to