Issue 20292: clinic.py str_converter with encoding throws exception (original) (raw)
Find test file attached. The exception:
Exception raised during parsing: Traceback (most recent call last): ... File "proj/python/trunk.hg/Tools/clinic/clinic.py", line 1535, in render self.parse_argument(data.parse_arguments) File "proj/python/trunk.hg/Tools/clinic/clinic.py", line 1563, in parse_argument list.append(c_repr(self.encoding)) NameError: global name 'c_repr' is not defined