Ethan Furman added the comment: Removing the 'enum_to_int' function would also take care of the accepting inappropriate types problem.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21076> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com