This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
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.
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: <>
2016-12-12 06:18:20rhettingerlinkissue28937 messages
2016-12-12 06:18:20rhettingercreate