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 tshepang
Recipients tshepang
Date 2011-02-09.19:46:22
SpamBayes Score 0.0025408
Marked as misclassified No
Message-id <1297280783.19.0.370230386976.issue11162@psf.upfronthosting.co.za>
In-reply-to
Content
I was hoping that I could use a list/tuple of separators for the split method:

    "abcde".split(["b", "d"])

vs.

    import re
    re.split("b|d", "abcde")

That's one extra LOC, and (worse still) forces me to learn regexp.

Does this suggested 'improvement' make sense?
History
Date User Action Args
2011-02-09 19:46:23tshepangsetrecipients: + tshepang
2011-02-09 19:46:23tshepangsetmessageid: <1297280783.19.0.370230386976.issue11162@psf.upfronthosting.co.za>
2011-02-09 19:46:22tshepanglinkissue11162 messages
2011-02-09 19:46:22tshepangcreate