home / django_tickets / tickets

tickets: 8285

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
8285 2008-08-13 14:16:39 2011-09-28 16:12:17 2022-03-06 03:41:50.986252 Accepted closed Core (Other)     dev fixed Signal Handlers can only be functions with DEBUG=True When DEBUG=True, signal handlers can only be functions, rather than any callable object. This is because dispatch/dispatcher.py tries to ensure that signal handlers accept **kwargs, using inspect.getargspec. Unfortunately, inspect.getargspec accepts only actual function objects, and not any callable. Thus, the check does more harm than good in cases where the signal handler is not an actual function. I suggest this check simply be removed. nobody Zal signals functions 0 1 1 0 0 0
Powered by Datasette · Queries took 6.118ms