Ethan Furman <et...@stoneleaf.us> added the comment: Setting _value_ needs to happen in __new__ for those cases where another data type, such as str or int, is mixed in.
I'll look at adding an example to the docs. Thanks for the report! ---------- assignee: -> ethan.furman components: +Documentation nosy: +barry, eli.bendersky, ethan.furman type: enhancement -> behavior versions: +Python 3.7, Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33437> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com