[New-bugs-announce] [issue20231] Argument Clinic accepts no-default args after default args
Ryan Smith-Roberts
report at bugs.python.org
Mon Jan 13 03:31:55 CET 2014
New submission from Ryan Smith-Roberts:
A signature of the form
a: object = None
b: object
results in b being uninitialized in the generated C code prior to the PyArgs_ParseTuple call. If ParseTuple does not set a value for b (as it is an optional argument), b then contains a garbage pointer and the interpreter may segfault.
AC should reject this configuration.
----------
components: Build
messages: 207997
nosy: larry, rmsr
priority: normal
severity: normal
status: open
title: Argument Clinic accepts no-default args after default args
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20231>
_______________________________________
More information about the New-bugs-announce
mailing list