[issue3262] re.split doesn't split with zero-width regex

Guido van Rossum report at bugs.python.org
Mon Sep 22 22:40:01 CEST 2008


Guido van Rossum <guido at python.org> added the comment:

The problem with doing this per 3.0 is that it's impossible to write a
conversion script.

I'm okay with adding a flag to enable this behavior though.  Please open
a new bug with a new patch, preferably one that applies cleanly to the
trunk, and a separate patch for the py3k branch unless the trunk patch
merges cleanly.  There should also be unittests and documentation.  The
patches should be marked for Python 2.7 and 3.1 -- it's way too late to
get this into 2.6 and 3.0.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3262>
_______________________________________


More information about the Python-bugs-list mailing list