From: Reuben Thomas Date: Tue, 30 Jan 2018 00:17:44 +0000 (+0000) Subject: Recode.pyx: add verbose argument to recode method X-Git-Tag: v3.7~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=024275b6fa9f738a892af5da4537f2fef8754e96;p=recode Recode.pyx: add verbose argument to recode method To ease debugging. Defaults to False. --- diff --git a/tests/Recode.pyx b/tests/Recode.pyx index f929c34..342ddf7 100644 --- a/tests/Recode.pyx +++ b/tests/Recode.pyx @@ -592,8 +592,9 @@ cdef class Outer: raise error # Lazy, all in one call. - def recode(self, char *command, char *input): + def recode(self, char *command, char *input, verbose=False): request = Request(self) + request.set_verbose(verbose) request.scan(command) return request.string(input)