This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georg.brandl
Recipients georg.brandl, larry
Date 2014-01-12.08:35:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389515721.27.0.898828060654.issue20186@psf.upfronthosting.co.za>
In-reply-to
Content
Tried to tackle symtable -- it uses an O& converter.  The clinic howto says

``'O&'``    ``object(converter='name_of_c_function')``

but

Traceback (most recent call last):
  File "Tools/clinic/clinic.py", line 2817, in <module>
    sys.exit(main(sys.argv[1:]))
  File "Tools/clinic/clinic.py", line 2813, in main
    parse_file(filename, output=ns.output, verify=not ns.force)
  File "Tools/clinic/clinic.py", line 1116, in parse_file
    cooked = clinic.parse(raw)
  File "Tools/clinic/clinic.py", line 1066, in parse
    parser.parse(block)
  File "Tools/clinic/clinic.py", line 2109, in parse
    self.state(line)
  File "Tools/clinic/clinic.py", line 2378, in state_parameter
    converter = dict[name](parameter_name, self.function, value, **kwargs)
  File "Tools/clinic/clinic.py", line 1403, in __init__
    self.converter_init(**kwargs)
TypeError: converter_init() got an unexpected keyword argument 'converter'
History
Date User Action Args
2014-01-12 08:35:21georg.brandlsetrecipients: + georg.brandl, larry
2014-01-12 08:35:21georg.brandlsetmessageid: <1389515721.27.0.898828060654.issue20186@psf.upfronthosting.co.za>
2014-01-12 08:35:21georg.brandllinkissue20186 messages
2014-01-12 08:35:20georg.brandlcreate