[Python-Dev] AC Derby and accepting None for optional positional arguments (original) (raw)
Larry Hastings larry at hastings.org
Thu Jan 16 20:42:03 CET 2014
- Previous message: [Python-Dev] AC Derby and accepting None for optional positional arguments
- Next message: [Python-Dev] AC Derby and accepting None for optional positional arguments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message: [Python-Dev] AC Derby and accepting None for optional positional arguments
- Next message: [Python-Dev] AC Derby and accepting None for optional positional arguments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]