Antoine Pitrou added the comment: I think raising ValueError is the way to go. Would you like to try writing a patch for it?
---------- nosy: +pitrou stage: -> needs patch type: -> behavior _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21714> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com