This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients rhettinger, serhiy.storchaka
Date 2019-01-19.11:09:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547896188.2.0.739880116717.issue35780@roundup.psfhosted.org>
In-reply-to
Content
> 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.
History
Date User Action Args
2019-01-19 11:09:50serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger
2019-01-19 11:09:48serhiy.storchakasetmessageid: <1547896188.2.0.739880116717.issue35780@roundup.psfhosted.org>
2019-01-19 11:09:48serhiy.storchakalinkissue35780 messages
2019-01-19 11:09:48serhiy.storchakacreate