miniblog.
← Back to all posts
Aug 30, 2013 at 13:18
Python's bisect will (after several closed tickets) gain a key= keyword argument, but only in 3.x:
Issue 4356: Add "key" argument to "bisect" module functions - Python tracker
bugs.python.org/issue4356
Wilfred Hughes
Related Posts
Dec 8, 2017 at 20:26
Positional arguments work well, as do keyword arguments. I think it's a mistake to support both though. In e.g. Python it's hard to control how people will call you, and you may have differing views on the API you're exposing.
Wilfred Hughes
Shared words: Python, will, keyword, argument Score: 66.4
May 27, 2013 at 14:29
Delighted to see one of my Django tickets making it into 1.6! "The get_or_create() method no longer requires at least one keyword argument."
Wilfred Hughes
Shared words: tickets, keyword, argument Score: 52.2
Nov 7, 2013 at 11:31
What will forever be exclusive to Python 3?
https://sayspy.blogspot.co.uk/2010/08/what-will-forever-be-exclusive-to.html
-- I learnt about several new Python 2 things here!
What will forever be exclusive to Python 3?
[2010-08-26: remove PEP 3109 and 3110 as they are both syntactically supported in Python 2.6 2010-09-01: remove mention of built-ins retur...
Wilfred Hughes
Shared words: Python, will, several Score: 33.9