Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
I think an alternative constructor is the best option. Some time ago I proposed to add more alternative constructors: https://mail.python.org/archives/list/python-id...@python.org/thread/5JKQMIC6EUVCD7IBWMRHY7DRTTNSBOWG/ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40801> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com