﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22111	Signal can throw ValueError in debug mode	Ilya Pirogov	nobody	"Examples:

{{{
// accepts keyword-only arguments 
@receiver(signals.post_save, sender=MyModel)
def my_handler(*, sender, instance, **kwargs):
    pass


// contains annotations
@receiver(signals.post_save, sender=MyModel)
def my_handler(sender, instance: MyModel, **kwargs):
    pass
}}}


In both cases the Signal can throw an error:
ValueError: Function has keyword-only arguments or annotations, use getfullargspec() API which can support them

Pull request: https://github.com/django/django/pull/2336"	Bug	closed	Core (Other)	dev	Normal	fixed			Accepted	1	0	1	1	0	0
