Author ncoghlan
Recipients Julian, dabeaz, doughellmann, gvanrossum, ncoghlan, nedbat, r.david.murray, rhettinger, skrah, twouters
Date 2013-06-04.03:48:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370317700.71.0.101641651733.issue18111@psf.upfronthosting.co.za>
In-reply-to
Content
Just one final design philosophy comment from me (I know it isn't needed since Guido already ack'ed the suggestion):

As far as the lessons learned from the historical startswith() case go, avoiding taking up the positional slots with optional flags and configuration parameters is one of the big reasons we added keyword only arguments (with the other being readability at the call site).

I agree we need to be cautious with API complexity, I just think in this case clean handling of empty iterators is a net win (so long as we rule out the conceptually broken case of combining the new parameter with multiple positional arguments).
History
Date User Action Args
2013-06-04 03:48:20ncoghlansetrecipients: + ncoghlan, gvanrossum, twouters, rhettinger, nedbat, doughellmann, r.david.murray, skrah, dabeaz, Julian
2013-06-04 03:48:20ncoghlansetmessageid: <1370317700.71.0.101641651733.issue18111@psf.upfronthosting.co.za>
2013-06-04 03:48:20ncoghlanlinkissue18111 messages
2013-06-04 03:48:20ncoghlancreate