[Python-Dev] AC Derby and accepting None for optional positional arguments

Larry Hastings larry at hastings.org
Thu Jan 16 20:42:03 CET 2014


On 01/16/2014 03:38 AM, Antoine Pitrou wrote:
> On Wed, 15 Jan 2014 21:55:46 -0800
> Larry Hastings <larry at hastings.org> wrote:
>> Passing in "None" here is inconvenient as it's an integer argument.
> Inconvenient for whom? The callee or the caller?

The callee, specifically the C argument parsing code.  (Even more 
specifically: the Argument Clinic argument parsing code generator.)


//arry/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140116/95a56639/attachment.html>


More information about the Python-Dev mailing list