Message190585
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). |
|
| Date |
User |
Action |
Args |
| 2013-06-04 03:48:20 | ncoghlan | set | recipients:
+ ncoghlan, gvanrossum, twouters, rhettinger, nedbat, doughellmann, r.david.murray, skrah, dabeaz, Julian |
| 2013-06-04 03:48:20 | ncoghlan | set | messageid: <[email protected]> |
| 2013-06-04 03:48:20 | ncoghlan | link | issue18111 messages |
| 2013-06-04 03:48:20 | ncoghlan | create | |
|