Re: [Python-ideas] Python-ideas Digest, Vol 142, Issue 22

2018-09-07 Thread Ethan Furman
On 09/07/2018 12:09 PM, James Lu wrote: [stuff] James, the digest you replied to had four different topics, and I have no idea how many individual messages. You didn't change the subject line, and you didn't trim the text you were not replying to. Which thread/message were you replying to?

Re: [Python-ideas] Python-ideas Digest, Vol 142, Issue 22

2018-09-07 Thread James Lu
What if * and ** forwarded all unnamed arguments to a function? Example: import traceback def print_http_response(request, color=True): ... def print_invalid_api_response(error, *, show_traceback=False, **): print_http_response(*, **) if show_traceback: traceback.print_last()