[issue20172] Derby #3: Convert 67 sites to Argument Clinic across 4 files (Windows)
Zachary Ware
report at bugs.python.org
Tue Jan 14 08:32:32 CET 2014
Zachary Ware added the comment:
Sandbox repo updated. It is currently using an older version of clinic; running current clinic on the winreg.c in the tip of the sandbox produces this traceback:
Traceback (most recent call last):
File "Tools\clinic\clinic.py", line 2981, in <module>
sys.exit(main(sys.argv[1:]))
File "Tools\clinic\clinic.py", line 2977, in main
parse_file(filename, output=ns.output, verify=not ns.force)
File "Tools\clinic\clinic.py", line 1132, in parse_file
cooked = clinic.parse(raw)
File "Tools\clinic\clinic.py", line 1082, in parse
parser.parse(block)
File "Tools\clinic\clinic.py", line 2259, in parse
self.state(line)
File "Tools\clinic\clinic.py", line 2633, in state_parameter_docstring
return self.next(self.state_parameter, line)
File "Tools\clinic\clinic.py", line 2287, in next
self.state(line)
File "Tools\clinic\clinic.py", line 2531, in state_parameter
value = eval(py_default)
File "<string>", line 1, in <module>
NameError: name 'winreg' is not defined
I'm not terribly sure about the error handling with the return converters, that will need some extra scrutiny. I may have it completely wrong :).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20172>
_______________________________________
More information about the Python-bugs-list
mailing list