Re: [Python-Dev] When will regex really go away?

2006-03-03 Thread Steve Holden
[EMAIL PROTECTED] wrote: Neal I'll do this, except there are some issues: Neal * Lib/reconvert.py imports regex. Ok to move regex,regsub,recovert to lib-old? Neal * ./Demo/pdist/rcslib.py ./Demo/sockets/mcast.py import regsub ... Neal * A whole mess of Demos

Re: [Python-Dev] When will regex really go away?

2006-03-02 Thread skip
Neal I'll do this, except there are some issues: Neal * Lib/reconvert.py imports regex. Ok to move regex,regsub,recovert to lib-old? Neal * ./Demo/pdist/rcslib.py ./Demo/sockets/mcast.py import regsub ... Neal * A whole mess of Demos and Tools use regex. What to do

Re: [Python-Dev] When will regex really go away?

2006-03-02 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: The docstring shows how to use it. Yet another Andrew Kuchling gem as I recall (or maybe an effbot gem). amk, most likely. and in 92.65% of all cases, switching from regex to re involves adding \ in front of (, | and ) if they don't already have them, and removing \

Re: [Python-Dev] When will regex really go away?

2006-03-01 Thread Neal Norwitz
On 1/24/06, Guido van Rossum [EMAIL PROTECTED] wrote: On 1/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I ran Fredrik's listmodules script in my current sandbox and got a deprecation warning for the regex module. According to PEP 4 it is already obsolete. I saw nothing there about

[Python-Dev] When will regex really go away?

2006-01-24 Thread skip
I ran Fredrik's listmodules script in my current sandbox and got a deprecation warning for the regex module. According to PEP 4 it is already obsolete. I saw nothing there about the timeframe for actual removal. Will it ever go away? Skip ___

Re: [Python-Dev] When will regex really go away?

2006-01-24 Thread Guido van Rossum
On 1/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I ran Fredrik's listmodules script in my current sandbox and got a deprecation warning for the regex module. According to PEP 4 it is already obsolete. I saw nothing there about the timeframe for actual removal. Will it ever go away?

Re: [Python-Dev] When will regex really go away?

2006-01-24 Thread skip
Guido PEP 4 lists these that were already obsolete in 2.0: Guido addpack, cmp, cmpcache, codehack, dircmp, dump, fmt, Guido lockfile, newdir, Para, poly, regex, regsub, tb, timing, Guido util, whatsound, tzmod, find, grep, packmail, ni, rand, Guido soundex,