[New-bugs-announce] [issue20299] Argument Clinic CConverter.__init__() overrides c_default and py_default
Ryan Smith-Roberts
report at bugs.python.org
Sun Jan 19 06:39:40 CET 2014
New submission from Ryan Smith-Roberts:
The docs indicate that you can do:
class foo_converter(CConverter):
...
c_default = 'bar()'
py_default = 'Bar'
except that CConverter.__init__() unconditionally overwrites these values. Patch attached.
----------
components: Build
files: ac_overwritten_defaults.patch
keywords: patch
messages: 208447
nosy: larry, rmsr
priority: normal
severity: normal
status: open
title: Argument Clinic CConverter.__init__() overrides c_default and py_default
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file33540/ac_overwritten_defaults.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20299>
_______________________________________
More information about the New-bugs-announce
mailing list