Message 341019 - Python tracker

Message341019

Author KevinG
Recipients KevinG, doerwalter, lukasz.langa, methane, rhettinger, xtreak
Date 2019-04-28.03:32:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556422376.19.0.394556612788.issue36744@roundup.psfhosted.org>
In-reply-to
Content
I have read issue33967 before posting this one.

The error message was introduced there, but the behavior hasn't changed.

The problem that issue33967 solves is that while singledispatch requires at least one positional argument, there was no explicit error message that told you that when you didn't pass any.

What this issue is about, is that singledispatch could also work without positional arguments IF only one keyword argument is provided.
History
Date User Action Args
2019-04-28 03:32:56KevinGsetrecipients: + KevinG, doerwalter, rhettinger, methane, lukasz.langa, xtreak
2019-04-28 03:32:56KevinGsetmessageid: <1556422376.19.0.394556612788.issue36744@roundup.psfhosted.org>
2019-04-28 03:32:56KevinGlinkissue36744 messages
2019-04-28 03:32:56KevinGcreate