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 <rep...@bugs.python.org>
<http://bugs.python.org/issue20172>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to