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 timehorse
Recipients filip, gvanrossum, mkc, mrabarnett, timehorse
Date 2008-09-22.11:54:29
SpamBayes Score 5.551115e-17
Marked as misclassified No
Message-id <1222084530.63.0.347436061995.issue3262@psf.upfronthosting.co.za>
In-reply-to
Content
I think Mike Coleman proposal of enabling this behaviour via flag is
probably best and IMHO we should consider it under these circumstances.
 Intuitively, I think you're interpretation of what re.split should do
under zero-width conditions is logical, and I almost think this should
be a 2-minor number transition à la from __future__ import
zeroWidthRegexpSplit if we are to consider it as the long-term 'right
thing to do'.  3000 (3.0) seems a good place to also consider it for
true overhaul / reexamination, especially as we are writing 'upgrade'
scripts for many of the other Python features.  However, I would say
this, Guido has spoken and it may be too late for the pebbles to vote.

I would like to add this patch as a new item to the general Regexp
Enhancements thread of issue 2636 though, as I think it is an idea worth
considering when overhauling Regexp.
History
Date User Action Args
2008-09-22 11:55:30timehorsesetrecipients: + timehorse, gvanrossum, mkc, filip, mrabarnett
2008-09-22 11:55:30timehorsesetmessageid: <1222084530.63.0.347436061995.issue3262@psf.upfronthosting.co.za>
2008-09-22 11:54:30timehorselinkissue3262 messages
2008-09-22 11:54:29timehorsecreate