Matt Eaton <agnostic...@gmail.com> added the comment:

I agree.  I think an explicit exception message would be appropriate when the 
cast fails to cast from string to int in int(post, 10).

Putting in a PR to fix this now.
https://github.com/python/cpython/pull/6078

----------
nosy: +agnosticdev

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

Reply via email to