Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: My point is that the current error message is correct and is not misleading. And this is a standard error message raised in many other cases. There is no a bug.
*Maybe* it can be improved in some specific cases. Do you want to provide a patch Steven? Without concrete patch the following discussion doesn't make sense. We even don't know if such patch is possible. ---------- versions: -Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32259> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com