30 Oct
2012
30 Oct
'12
12:19 a.m.
Guido van Rossum wrote:
I would to see add_{reader,writer} and call_{soon,later} accepting **kwargs as well as *args. At least to respect functions with keyword-only arguments.
Hmm... I intentionally ruled those out because I wanted to leave the door open for keyword args that modify the registration function
One way to accommodate that would be to make the registration API look like this: call_later(my_func)(arg1, ..., kwd = value, ...) -- Greg