[New-bugs-announce] [issue20232] Argument Clinic NULL default falsely implies None acceptability

Ryan Smith-Roberts report at bugs.python.org
Mon Jan 13 03:53:18 CET 2014


New submission from Ryan Smith-Roberts:

When one specifies a default of NULL, the generated signature doc indicates a default of None. However, if the user actually supplies None, perhaps as a placeholder in a positional-only call, C code which only checks for NULL will fail inappropriately.

The solution may be to convert a None object to a null pointer in the wrapper.

----------
components: Build
messages: 207998
nosy: larry, rmsr
priority: normal
severity: normal
status: open
title: Argument Clinic NULL default falsely implies None acceptability
type: behavior
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20232>
_______________________________________


More information about the New-bugs-announce mailing list