14 Apr
2015
14 Apr
'15
5:40 p.m.
I'm working on adding a numeric_owner parameter to some tarfile methods (http://bugs.python.org/issue23193), In a review, Berker suggested making the parameter keyword-only. I agree that you'd likely never want to pass just "True", but that "numeric_owner=True" would be a better usage. But, I don't see a lot of keyword-only parameters being added to stdlib code. Is there some position we've taken on this? Barring someone saying "stdlib APIs shouldn't contain keyword-only params", I'm inclined to make numeric_owner keyword-only. Is there anything stopping me from making it keyword-only? Thanks. Eric.
3272
Age (days ago)
3272
Last active (days ago)
14 comments
13 participants
participants (13)
-
Alexander Walters
-
Andrew Svetlov
-
Eric V. Smith
-
Ethan Furman
-
Glenn Linderman
-
Gregory P. Smith
-
Guido van Rossum
-
Joe Jevnik
-
Larry Hastings
-
Paul Sokolovsky
-
Steven D'Aprano
-
Zachary Ware
-
Ćukasz Langa