Claudiu Popa added the comment:

I believe that returning a TypeError instead of a ValueError is better in this 
situation. Technically, passing 'a' as maxlen makes that value inappropiate, 
thus the use of TypeError. It will also be backward compatible. Also, your 
patch needs test updates.

----------
nosy: +Claudiu.Popa
stage:  -> patch review
versions: +Python 3.5 -Python 2.7, Python 3.3, Python 3.4

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

Reply via email to