[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: RA layer independence for the Python test suite

From: John Szakmeister <john_at_szakmeister.net>
Date: 2007-11-01 15:14:17 CET

----- "Daniel Rall" <dlr@collab.net> wrote:
[snip]
> Any reason not to use the "sre" module instead of "re", since "re" has
> been deprecated? (I also tend to use "re" myself, out of habit.)

I think you may have that backwards (sre is deprecated, not re):
  Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
  [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
  Type "help", "copyright", "credits" or "license" for more information.
>>> import sre
  __main__:1: DeprecationWarning: The sre module is deprecated, please import re.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 2 11:23:37 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.