Author rhettinger
Recipients abarry, barry, gvanrossum, mrabarnett, rhettinger, serhiy.storchaka, syeberman, veky
Date 2016-12-12.06:18:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481523500.99.0.428915472374.issue28937@psf.upfronthosting.co.za>
In-reply-to
Content
Guido, do you have an option on this?  IIRC, this was an API you created.

Nick's thought (posted on twitter) is that 'filter(None, sep.split(input)' already covers the "drop the empty values" case. 

My feelings are mixed.  Though I've never needed in practice, it would be nice if the whitespace removal algorithm could be customized to just a space or just a tab.   On the other hand, I think the new parameter would make the API more confusing and harder to learn.  It might be better to just document either the filter(None) approach or a simple regex for the less common cases.
History
Date User Action Args
2016-12-12 06:18:21rhettingersetrecipients: + rhettinger, gvanrossum, barry, syeberman, mrabarnett, serhiy.storchaka, veky, abarry
2016-12-12 06:18:20rhettingersetmessageid: <1481523500.99.0.428915472374.issue28937@psf.upfronthosting.co.za>
2016-12-12 06:18:20rhettingerlinkissue28937 messages
2016-12-12 06:18:20rhettingercreate