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 asvetlov
Recipients Bruce Merry, asvetlov, yselivanov
Date 2017-12-21.06:06:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513836397.07.0.213398074469.issue32395@psf.upfronthosting.co.za>
In-reply-to
Content
Support multiple separators looks easy, I don't expect any performance impact.
Like we already have it for strings: s.startswith(('\n', '\r'))

Regexps are more expensive thing, callbacks are kind of evil.

Let's add a patch for multiple separators first, maybe it covers 99.9% use cases.
History
Date User Action Args
2017-12-21 06:06:37asvetlovsetrecipients: + asvetlov, yselivanov, Bruce Merry
2017-12-21 06:06:37asvetlovsetmessageid: <1513836397.07.0.213398074469.issue32395@psf.upfronthosting.co.za>
2017-12-21 06:06:37asvetlovlinkissue32395 messages
2017-12-21 06:06:36asvetlovcreate