On 29 January 2017 at 20:30, Steve Holden <st...@holdenweb.com> wrote: > Why not declare re deprecated and remove it in Python 4? I am pretty sure > everyone wants to keep re in all 3.x releases, but that support need not > extend beyond. So Py4 would have no battery for re, but it would (should!) > be common knowledge that regex was the go-to module for general-purpose > pattern matching. If re has advantages in certain situations someone might > upgrade the 3.x implementation and provide it as a 3rd-party module, though > the effort involved would be significant, so someone would have to be > motivated to keep it.
Not having regex capability distributed with Python is a pretty big regression. There are still a lot of users who don't have access to 3rd party modules. Paul _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com