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.
regards Steve Steve Holden On Sun, Jan 29, 2017 at 4:13 PM, Antoine Pitrou <solip...@pitrou.net> wrote: > On Sat, 28 Jan 2017 12:07:05 -0500 > Barry Warsaw <ba...@python.org> wrote: > > On Jan 28, 2017, at 03:43 PM, Nick Coghlan wrote: > > > > >I still think it could be a good candidate for a first "bundled" > > >module, where we don't migrate it fully into the CPython development > > >process, but *do* officially bless it and provide it by default in the > > >form of a bundled wheel file (similar to what we do with pip). > > > > How would that work exactly. I.e. is there a PEP? > > > > While I think it could be a good idea to bundle (more?) third party > packages > > for a variety of reasons, I want to make sure it's done in a way that's > still > > friendly to downstream repackagers, as I'm sure you do to. :) > > That sounds like a lot of effort and maintenance... Don't we bundle pip > *exactly* so that we don't have to bundle other third-party packages > and instead tell users to "just use `pip install <some package>`"? > > To sum it up, how about we simply add an official suggestion to use > regex in the docs? > > Regards > > Antoine. > > > _______________________________________________ > 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/ > steve%40holdenweb.com >
_______________________________________________ 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