Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
> would it be reasonable to emulate the pure python code and return a scalar > instead of a tuple when the tuple length is one and there are no keyword > arguments or typing requirements? It was discussed before, and there is a closed issue. I am not sure about the optimization in the Python code. It may lead to bugs in corner cases too. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35780> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com