History log of /external/python/cpython3/Lib/sre_compile.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
be9a4e5c855188cf146962483e6de942bf154d95 09-Sep-2016 Serhiy Storchaka <storchaka@gmail.com> Issue #433028: Added support of modifier spans in regular expressions.
/external/python/cpython3/Lib/sre_compile.py
66dc4648fcca725bc48b0c8d7030c107dfeda709 21-Jun-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #24426: Fast searching optimization in regular expressions now works
for patterns that starts with capturing groups. Fast searching optimization
now can't be disabled at compile time.
/external/python/cpython3/Lib/sre_compile.py
632a77e6a3fb3acec9850cd5245dc28314000e54 25-Mar-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #22364: Improved some re error messages using regex for hints.
/external/python/cpython3/Lib/sre_compile.py
83e802796c80f46be616b48020356f7f51be533d 03-Feb-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #22818: Splitting on a pattern that could match an empty string now
raises a warning. Patterns that can only match empty strings are now
rejected.
/external/python/cpython3/Lib/sre_compile.py
ab14088141ab749763e35b7a49e79c368940e12d 11-Nov-2014 Serhiy Storchaka <storchaka@gmail.com> Minor code clean up and improvements in the re module.
/external/python/cpython3/Lib/sre_compile.py
eb99e5157498ae37117a54cdb01fea082d842a0d 10-Nov-2014 Serhiy Storchaka <storchaka@gmail.com> Got rid of the array module dependency in the re module.
The re module could be used during building before array is built.
19e9158497728e522f315777da1cd957a8736c20 10-Nov-2014 Serhiy Storchaka <storchaka@gmail.com> Got rid of the array module dependency in the re module.
The re module could be used during building before array is built.
/external/python/cpython3/Lib/sre_compile.py
5619ab926b83b3ce8ed8f24d52bcedc96835cb35 09-Nov-2014 Serhiy Storchaka <storchaka@gmail.com> Issue #12728: Different Unicode characters having the same uppercase but
different lowercase are now matched in case-insensitive regular expressions.
0c938f6d248e7dbf50a1f00b0c6bca3845859fc0 09-Nov-2014 Serhiy Storchaka <storchaka@gmail.com> Issue #12728: Different Unicode characters having the same uppercase but
different lowercase are now matched in case-insensitive regular expressions.
/external/python/cpython3/Lib/sre_compile.py
5f3367721917e417432aca6965575546e396edb2 10-Nov-2014 Serhiy Storchaka <storchaka@gmail.com> Merge heads
df1b69944796caa6854049caf624d32c408c27d5 10-Nov-2014 Raymond Hettinger <python@rcn.com> Issue #22823: Use set literals instead of creating a set from a list
/external/python/cpython3/Lib/sre_compile.py
c7f7d3897e6b0eb8bbfa7957e0a19232d05b8616 09-Nov-2014 Serhiy Storchaka <storchaka@gmail.com> Issue #22434: Constants in sre_constants are now named constants (enum-like).
/external/python/cpython3/Lib/sre_compile.py
4b8f8949b43715f1b0f0ef77e15e19c180ccc195 30-Oct-2014 Serhiy Storchaka <storchaka@gmail.com> Issue #17381: Fixed handling of case-insensitive ranges in regular expressions.
Added new opcode RANGE_IGNORE.
/external/python/cpython3/Lib/sre_compile.py
9baa5b2de2e1bd4d56791de8144f737f65b89c74 29-Sep-2014 Serhiy Storchaka <storchaka@gmail.com> Issue #22437: Number of capturing groups in regular expression is no longer
limited by 100.
/external/python/cpython3/Lib/sre_compile.py
b1847e7541e7c8e8e064c6de1aa1adb199c007e3 30-Oct-2014 Serhiy Storchaka <storchaka@gmail.com> Issue #17381: Fixed handling of case-insensitive ranges in regular expressions.
/external/python/cpython3/Lib/sre_compile.py
7fa767e517882f4d3503d168d3a4d4caad317752 20-Mar-2014 Victor Stinner <victor.stinner@gmail.com> Issue #20976: pyflakes: Remove unused imports
/external/python/cpython3/Lib/sre_compile.py
68457be619b919127d0858322ce84e901fd89728 27-Oct-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #19329: Optimized compiling charsets in regular expressions.
/external/python/cpython3/Lib/sre_compile.py
1985f7b133d2ff1f695354c50a09a7c859a1d5a4 27-Oct-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #19405: Fixed outdated comments in the _sre module.
efa5a39fa594738d99dd8829400a9b7697d98b29 27-Oct-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #19405: Fixed outdated comments in the _sre module.
/external/python/cpython3/Lib/sre_compile.py
79aa68dfc1ab4936107f9528d939e865f94da4b6 25-Oct-2013 Antoine Pitrou <solipsis@pitrou.net> Issue #19387: explain and test the sre overlap table
/external/python/cpython3/Lib/sre_compile.py
8b150ecfc9a57fb2d564381464bb04c9a94ee053 24-Oct-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #19327: Fixed the working of regular expressions with too big charset.
be80fc9a843e3c51d1030d3eab52d6287e5aef3a 24-Oct-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #19327: Fixed the working of regular expressions with too big charset.
/external/python/cpython3/Lib/sre_compile.py
c8bf95cfc58d92c365abd4c958feb15f872b2a29 20-Sep-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #18050: Fixed an incompatibility of the re module with Python 3.3.0
binaries.
/external/python/cpython3/Lib/sre_compile.py
228c194596b8e357ae586a76ee392740107bd663 19-Aug-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #2537: Remove breaked check which prevented valid regular expressions.
Patch by Meador Inge.

See also issue #18647.
98985a1980304b3c8fee9b9efdac015c6098bd67 19-Aug-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #2537: Remove breaked check which prevented valid regular expressions.
Patch by Meador Inge.

See also issue #18647.
/external/python/cpython3/Lib/sre_compile.py
3efad82b055df8a9f3713412e315addba1612394 03-Aug-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #18647: Temporary disable the "nothing to repeat" check to make buildbots happy.
5e376a7809d7efe014f3f9b967a4554d79e10328 03-Aug-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #18647: Temporary disable the "nothing to repeat" check to make buildbots happy.
/external/python/cpython3/Lib/sre_compile.py
cd171c8e92c10d327151400fd8f16b11a4964615 04-Jul-2013 Brett Cannon <brett@python.org> Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)
/external/python/cpython3/Lib/sre_compile.py
0a140668faf18bf7f8d2ea15e57da5e2a0625292 14-Jun-2013 Brett Cannon <brett@python.org> Issue #18200: Update the stdlib (except tests) to use
ModuleNotFoundError.
/external/python/cpython3/Lib/sre_compile.py
678ad51b3860c0d5cbf9188e50e72f0b04d1140e 26-Mar-2013 Victor Stinner <victor.stinner@gmail.com> Issue #17516: remove dead code
/external/python/cpython3/Lib/sre_compile.py
a0eb80999538febe046164bae541d3f07b899dfb 16-Feb-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #13169: The maximal repetition number in a regular expression has been
increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on
64-bit).
70ca0210e8958d2665541ddd38fce2965075674e 16-Feb-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #13169: The maximal repetition number in a regular expression has been
increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on
64-bit).
/external/python/cpython3/Lib/sre_compile.py
a9860aeb08fce7494a963746c04102d23f1cf4ac 04-Oct-2011 Ezio Melotti <none@none> #13054: fix usage of sys.maxunicode after PEP-393.
/external/python/cpython3/Lib/sre_compile.py
1ce3eb5c5b4830e69b21865e2d723e22749544e0 01-Sep-2010 Antoine Pitrou <solipsis@pitrou.net> Issue #8990: array.fromstring() and array.tostring() get renamed to
frombytes() and tobytes(), respectively, to avoid confusion. Furthermore,
array.frombytes(), array.extend() as well as the array.array()
constructor now accept bytearray objects. Patch by Thomas Jollans.
/external/python/cpython3/Lib/sre_compile.py
6c940d6159d6f0a21f664b58b3aa0098041203e1 15-Oct-2008 Benjamin Peterson <benjamin@python.org> Merged revisions 66894 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r66894 | benjamin.peterson | 2008-10-14 17:37:18 -0500 (Tue, 14 Oct 2008) | 1 line

remove set compat cruft
........
/external/python/cpython3/Lib/sre_compile.py
5e69685999c0f44af3536ac71a2a59e70b7ea185 09-Apr-2008 Christian Heimes <christian@cheimes.de> Merged revisions 62194,62197-62198,62204-62205,62214,62219-62221,62227,62229-62231,62233-62235,62237-62239 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r62194 | jeffrey.yasskin | 2008-04-07 01:04:28 +0200 (Mon, 07 Apr 2008) | 7 lines

Add enough debugging information to diagnose failures where the
HandlerBException is ignored, and fix one such problem, where it was thrown
during the __del__ method of the previous Popen object.

We may want to find a better way of printing verbose information so it's not
spammy when the test passes.
........
r62197 | mark.hammond | 2008-04-07 03:53:39 +0200 (Mon, 07 Apr 2008) | 2 lines

Issue #2513: enable 64bit cross compilation on windows.
........
r62198 | mark.hammond | 2008-04-07 03:59:40 +0200 (Mon, 07 Apr 2008) | 2 lines

correct heading underline for new "Cross-compiling on Windows" section
........
r62204 | gregory.p.smith | 2008-04-07 08:33:21 +0200 (Mon, 07 Apr 2008) | 4 lines

Use the new PyFile_IncUseCount & PyFile_DecUseCount calls appropriatly
within the standard library. These modules use PyFile_AsFile and later
release the GIL while operating on the previously returned FILE*.
........
r62205 | mark.summerfield | 2008-04-07 09:39:23 +0200 (Mon, 07 Apr 2008) | 4 lines

changed "2500 components" to "several thousand" since the number keeps
growning:-)
........
r62214 | georg.brandl | 2008-04-07 20:51:59 +0200 (Mon, 07 Apr 2008) | 2 lines

#2525: update timezone info examples in the docs.
........
r62219 | andrew.kuchling | 2008-04-08 01:57:07 +0200 (Tue, 08 Apr 2008) | 1 line

Write PEP 3127 section; add items
........
r62220 | andrew.kuchling | 2008-04-08 01:57:21 +0200 (Tue, 08 Apr 2008) | 1 line

Typo fix
........
r62221 | andrew.kuchling | 2008-04-08 03:33:10 +0200 (Tue, 08 Apr 2008) | 1 line

Typographical fix: 32bit -> 32-bit, 64bit -> 64-bit
........
r62227 | andrew.kuchling | 2008-04-08 23:22:53 +0200 (Tue, 08 Apr 2008) | 1 line

Add items
........
r62229 | amaury.forgeotdarc | 2008-04-08 23:27:42 +0200 (Tue, 08 Apr 2008) | 7 lines

Issue2564: Prevent a hang in "import test.autotest", which runs the entire test
suite as a side-effect of importing the module.

- in test_capi, a thread tried to import other modules
- re.compile() imported sre_parse again on every call.
........
r62230 | amaury.forgeotdarc | 2008-04-08 23:51:57 +0200 (Tue, 08 Apr 2008) | 2 lines

Prevent an error when inspect.isabstract() is called with something else than a new-style class.
........
r62231 | amaury.forgeotdarc | 2008-04-09 00:07:05 +0200 (Wed, 09 Apr 2008) | 8 lines

Issue 2408: remove the _types module
It was only used as a helper in types.py to access types (GetSetDescriptorType and MemberDescriptorType),
when they can easily be obtained with python code.
These expressions even work with Jython.

I don't know what the future of the types module is; (cf. discussion in http://bugs.python.org/issue1605 )
at least this change makes it simpler.
........
r62233 | amaury.forgeotdarc | 2008-04-09 01:10:07 +0200 (Wed, 09 Apr 2008) | 2 lines

Add a NEWS entry for previous checkin
........
r62234 | trent.nelson | 2008-04-09 01:47:30 +0200 (Wed, 09 Apr 2008) | 37 lines

- Issue #2550: The approach used by client/server code for obtaining ports
to listen on in network-oriented tests has been refined in an effort to
facilitate running multiple instances of the entire regression test suite
in parallel without issue. test_support.bind_port() has been fixed such
that it will always return a unique port -- which wasn't always the case
with the previous implementation, especially if socket options had been
set that affected address reuse (i.e. SO_REUSEADDR, SO_REUSEPORT). The
new implementation of bind_port() will actually raise an exception if it
is passed an AF_INET/SOCK_STREAM socket with either the SO_REUSEADDR or
SO_REUSEPORT socket option set. Furthermore, if available, bind_port()
will set the SO_EXCLUSIVEADDRUSE option on the socket it's been passed.
This currently only applies to Windows. This option prevents any other
sockets from binding to the host/port we've bound to, thus removing the
possibility of the 'non-deterministic' behaviour, as Microsoft puts it,
that occurs when a second SOCK_STREAM socket binds and accepts to a
host/port that's already been bound by another socket. The optional
preferred port parameter to bind_port() has been removed. Under no
circumstances should tests be hard coding ports!

test_support.find_unused_port() has also been introduced, which will pass
a temporary socket object to bind_port() in order to obtain an unused port.
The temporary socket object is then closed and deleted, and the port is
returned. This method should only be used for obtaining an unused port
in order to pass to an external program (i.e. the -accept [port] argument
to openssl's s_server mode) or as a parameter to a server-oriented class
that doesn't give you direct access to the underlying socket used.

Finally, test_support.HOST has been introduced, which should be used for
the host argument of any relevant socket calls (i.e. bind and connect).

The following tests were updated to following the new conventions:
test_socket, test_smtplib, test_asyncore, test_ssl, test_httplib,
test_poplib, test_ftplib, test_telnetlib, test_socketserver,
test_asynchat and test_socket_ssl.

It is now possible for multiple instances of the regression test suite to
run in parallel without issue.
........
r62235 | gregory.p.smith | 2008-04-09 02:25:17 +0200 (Wed, 09 Apr 2008) | 3 lines

Fix zlib crash from zlib.decompressobj().flush(val) when val was not positive.
It tried to allocate negative or zero memory. That fails.
........
r62237 | trent.nelson | 2008-04-09 02:34:53 +0200 (Wed, 09 Apr 2008) | 1 line

Fix typo with regards to self.PORT shadowing class variables with the same name.
........
r62238 | andrew.kuchling | 2008-04-09 03:08:32 +0200 (Wed, 09 Apr 2008) | 1 line

Add items
........
r62239 | jerry.seutter | 2008-04-09 07:07:58 +0200 (Wed, 09 Apr 2008) | 1 line

Changed test so it no longer runs as a side effect of importing.
........
/external/python/cpython3/Lib/sre_compile.py
40a088dc27865eb1236d6c728d2880ecd0022a65 18-Mar-2008 Thomas Wouters <thomas@python.org> Fix 're' to work on bytes. It could do with a few more tests, though.
/external/python/cpython3/Lib/sre_compile.py
072c0f1b7e3d83dec98313bc07ae92ed15fe7e6d 04-Jan-2008 Christian Heimes <christian@cheimes.de> Merged revisions 59666-59679 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r59666 | christian.heimes | 2008-01-02 19:28:32 +0100 (Wed, 02 Jan 2008) | 1 line

Made vs9to8 Unix compatible
........
r59669 | guido.van.rossum | 2008-01-02 20:00:46 +0100 (Wed, 02 Jan 2008) | 2 lines

Patch #1696. Don't attempt to close None in dry-run mode.
........
r59671 | jeffrey.yasskin | 2008-01-03 03:21:52 +0100 (Thu, 03 Jan 2008) | 6 lines

Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (just
the complex_pow part), r56649, r56652, r56715, r57296, r57302, r57359, r57361,
r57372, r57738, r57739, r58017, r58039, r58040, and r59390, and new
documentation. The only significant difference is that round(x) returns a float
to preserve backward-compatibility. See http://bugs.python.org/issue1689.
........
r59672 | christian.heimes | 2008-01-03 16:41:30 +0100 (Thu, 03 Jan 2008) | 1 line

Issue #1726: Remove Python/atof.c from PCBuild/pythoncore.vcproj
........
r59675 | guido.van.rossum | 2008-01-03 20:12:44 +0100 (Thu, 03 Jan 2008) | 4 lines

Issue #1700, reported by Nguyen Quan Son, fix by Fredruk Lundh:
Regular Expression inline flags not handled correctly for some unicode
characters. (Forward port from 2.5.2.)
........
r59676 | christian.heimes | 2008-01-03 21:23:15 +0100 (Thu, 03 Jan 2008) | 1 line

Added math.isinf() and math.isnan()
........
r59677 | christian.heimes | 2008-01-03 22:14:48 +0100 (Thu, 03 Jan 2008) | 1 line

Some build bots don't compile mathmodule. There is an issue with the long definition of pi and euler
........
r59678 | christian.heimes | 2008-01-03 23:16:32 +0100 (Thu, 03 Jan 2008) | 2 lines

Modified PyImport_Import and PyImport_ImportModule to always use absolute imports by calling __import__ with an explicit level of 0
Added a new API function PyImport_ImportModuleNoBlock. It solves the problem with dead locks when mixing threads and imports
........
r59679 | christian.heimes | 2008-01-03 23:32:26 +0100 (Thu, 03 Jan 2008) | 1 line

Added copysign(x, y) function to the math module
........
/external/python/cpython3/Lib/sre_compile.py
3172c5d263eeffff1e89d03d79be3ccc1d60fbde 16-Oct-2007 Guido van Rossum <guido@python.org> Patch# 1258 by Christian Heimes: kill basestring.
I like this because it makes the code shorter! :-)
/external/python/cpython3/Lib/sre_compile.py
ce36ad8a467d914eb5c91f33835b9eaea18ee93b 30-Aug-2007 Collin Winter <collinw@gmail.com> Raise statement normalization in Lib/.
/external/python/cpython3/Lib/sre_compile.py
992d4a3e6e67a05b85350820157028a61d1f22cf 11-Jul-2007 Guido van Rossum <guido@python.org> Merged revisions 56154-56264 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/p3yk

................
r56155 | neal.norwitz | 2007-07-03 08:59:08 +0300 (Tue, 03 Jul 2007) | 1 line

Get this test working after converting map to return an iterator
................
r56202 | neal.norwitz | 2007-07-09 04:30:09 +0300 (Mon, 09 Jul 2007) | 37 lines

Merged revisions 56124-56201 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r56129 | georg.brandl | 2007-06-30 04:01:01 -0700 (Sat, 30 Jun 2007) | 2 lines

Document smtp.SMTPAuthenticationError.
........
r56137 | georg.brandl | 2007-07-01 01:11:35 -0700 (Sun, 01 Jul 2007) | 2 lines

Fix a few webbrowser.py problems.
........
r56143 | georg.brandl | 2007-07-02 04:54:28 -0700 (Mon, 02 Jul 2007) | 2 lines

Remove duplicate sentence from alarm() doc.
........
r56170 | mark.hammond | 2007-07-03 19:03:10 -0700 (Tue, 03 Jul 2007) | 3 lines

copy built files to the PCBuild directory, where tools like
distutils or external build processes can find them.
........
r56176 | kurt.kaiser | 2007-07-05 15:03:39 -0700 (Thu, 05 Jul 2007) | 10 lines

Many calls to tk.call involve an arglist containing a single tuple.
Calls using METH_OLDARGS unpack this tuple; calls using METH_VARARG
don't. Tcl's concatenation of args was affected; IDLE doesn't start.

Modify Tkapp_Call() to unpack single tuple arglists.

Bug 1733943
Ref http://mail.python.org/pipermail/python-checkins/2007-May/060454.html
........
r56177 | neal.norwitz | 2007-07-05 21:13:39 -0700 (Thu, 05 Jul 2007) | 1 line

Fix typo in comment
........
................
r56251 | neal.norwitz | 2007-07-11 10:01:01 +0300 (Wed, 11 Jul 2007) | 1 line

Get working with map returning an iterator (had to fix whitespace too)
................
r56255 | thomas.wouters | 2007-07-11 13:41:37 +0300 (Wed, 11 Jul 2007) | 6 lines


Clean up merge glitch or copy-paste error (the entire module was duplicated,
except the first half even had some more copy-paste errors, referring to
listcomps and genexps instead of setcomps)
................
r56256 | thomas.wouters | 2007-07-11 15:16:01 +0300 (Wed, 11 Jul 2007) | 14 lines


Dict comprehensions. Still needs doc changes (like many python-3000 features
;-). It generates bytecode similar to:

x = {}
for k, v in (generator here):
x[k] = v

except there is no tuple-packing and -unpacking involved. Trivial
measurement suggests it's significantly faster than dict(generator here) (in
the order of 2 to 3 times as fast) but I have not done extensive
measurements.
................
r56263 | guido.van.rossum | 2007-07-11 15:36:26 +0300 (Wed, 11 Jul 2007) | 3 lines

Patch 1724999 by Ali Gholami Rudi -- avoid complaints about dict size
change during iter in destroy call.
................
/external/python/cpython3/Lib/sre_compile.py
6b826abc707eb101f8426382487de88cd4e7b046 03-Jul-2007 Guido van Rossum <guido@python.org> Creating an array with a bytes object as initializer
should treat the bytes as it treats a string.
Not doing this broke re.compile() of big charsets.
/external/python/cpython3/Lib/sre_compile.py
805365ee39298f93e433e19ae0dd87c6f782145b 08-May-2007 Guido van Rossum <guido@python.org> Merged revisions 55007-55179 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/p3yk

........
r55077 | guido.van.rossum | 2007-05-02 11:54:37 -0700 (Wed, 02 May 2007) | 2 lines

Use the new print syntax, at least.
........
r55142 | fred.drake | 2007-05-04 21:27:30 -0700 (Fri, 04 May 2007) | 1 line

remove old cruftiness
........
r55143 | fred.drake | 2007-05-04 21:52:16 -0700 (Fri, 04 May 2007) | 1 line

make this work with the new Python
........
r55162 | neal.norwitz | 2007-05-06 22:29:18 -0700 (Sun, 06 May 2007) | 1 line

Get asdl code gen working with Python 2.3. Should continue to work with 3.0
........
r55164 | neal.norwitz | 2007-05-07 00:00:38 -0700 (Mon, 07 May 2007) | 1 line

Verify checkins to p3yk (sic) branch go to 3000 list.
........
r55166 | neal.norwitz | 2007-05-07 00:12:35 -0700 (Mon, 07 May 2007) | 1 line

Fix this test so it runs again by importing warnings_test properly.
........
r55167 | neal.norwitz | 2007-05-07 01:03:22 -0700 (Mon, 07 May 2007) | 8 lines

So long xrange. range() now supports values that are outside
-sys.maxint to sys.maxint. floats raise a TypeError.

This has been sitting for a long time. It probably has some problems and
needs cleanup. Objects/rangeobject.c now uses 4-space indents since
it is almost completely new.
........
r55171 | guido.van.rossum | 2007-05-07 10:21:26 -0700 (Mon, 07 May 2007) | 4 lines

Fix two tests that were previously depending on significant spaces
at the end of a line (and before that on Python 2.x print behavior
that has no exact equivalent in 3.0).
........
/external/python/cpython3/Lib/sre_compile.py
572dbf8f1320c0b34b9c786e5c30ba4a4b61b292 28-Apr-2007 Guido van Rossum <guido@python.org> Checkpoint. Manipulated things so that string literals are always
unicode, and a few other compensating changes, e.g. str <- unicode,
chr <- unichr, and repr() of a unicode string no longer starts
with 'u'. Lots of unit tests are broken, but some basic things
work, in particular distutils works so the extensions can be built,
and test_builtin.py works.
/external/python/cpython3/Lib/sre_compile.py
e2a383d062434c05b73031f0da57fe82b9da8942 15-Jan-2007 Guido van Rossum <guido@python.org> Rip out 'long' and 'L'-suffixed integer literals.
(Rough first cut.)
/external/python/cpython3/Lib/sre_compile.py
c30faa812c507c94d744419bce7c497f1a283d95 02-Jun-2005 Andrew M. Kuchling <amk@amk.ca> [Bug #1177831] Fix generation of code for GROUPREF_EXISTS. Thanks to Andre Malo for the fix.
/external/python/cpython3/Lib/sre_compile.py
049ade2997aee8cd6564e05d29dbe0b390ebf27b 28-Feb-2005 Raymond Hettinger <python@rcn.com> Complete the previous effort to factor out constant expressions
and improve the speed of the if/elif/else blocks.
/external/python/cpython3/Lib/sre_compile.py
5e7d51b62cc86314987b833a2a800b9528e906d7 15-Oct-2004 Fredrik Lundh <fredrik@pythonware.com> make sure to check for this limit even if we're running with -O
/external/python/cpython3/Lib/sre_compile.py
7d9c6c7e8c1e381de7e96989c1332cf98d766f3a 07-May-2004 Martin v. Löwis <martin@v.loewis.de> Fix _sre.CODESIZE on 64-bit machines in UCS-4 mode. Fixes #931848.
Backported to 2.3.
/external/python/cpython3/Lib/sre_compile.py
d732c95eb0763bf4d5bb3f6e03707828185800bb 27-Mar-2004 Raymond Hettinger <python@rcn.com> Revert 1.51 booleans so that sre will still run on old pythons.
/external/python/cpython3/Lib/sre_compile.py
29e383754e4a96b46d1bd9f72a49694cdb993850 26-Mar-2004 Raymond Hettinger <python@rcn.com> Remove unnecessary test. (Thanks Skip)
/external/python/cpython3/Lib/sre_compile.py
01c9f8c35f583338e3638906ceeef9d2f29a0254 26-Mar-2004 Raymond Hettinger <python@rcn.com> Simple optimizations:
* pre-build a single identity function for the fixup function
* pre-build membership tests in dictionaries instead of in-line tuples
* assign len() to a local variable
* assign append() methods to a local variable
* use xrange() instead of range()
* replace "x<<1" with "x+x"
/external/python/cpython3/Lib/sre_compile.py
bc503d1e90fac2baf8f3f115692c9ac940e9d5bb 25-Mar-2004 Martin v. Löwis <martin@v.loewis.de> Use True/False instead of 0/1 for character classes.
/external/python/cpython3/Lib/sre_compile.py
ad3fc44ccb40f2ad33c0d09f5a2dfbd4feb442eb 18-Oct-2003 Gustavo Niemeyer <gustavo@niemeyer.net> Implemented non-recursive SRE matching.
/external/python/cpython3/Lib/sre_compile.py
74902508dc395014dbdb9c2ed08263202e5d4e30 02-Jul-2003 Just van Rossum <just@letterror.com> Addendum to #764548: restore 2.1 compatibility.
/external/python/cpython3/Lib/sre_compile.py
12723baceab61f8812d68575c962696cc4e77fa1 02-Jul-2003 Just van Rossum <just@letterror.com> Fix and test for bug #764548:
Use isinstance() instead of comparing types directly, to enable
subclasses of str and unicode to be used as patterns.
Blessed by /F.
/external/python/cpython3/Lib/sre_compile.py
78e2f06cc66178887ee0d6d243370efa241a675a 19-Apr-2003 Martin v. Löwis <martin@v.loewis.de> Fully support 32-bit codes. Enable BIGCHARSET in UCS-4 builds.
/external/python/cpython3/Lib/sre_compile.py
41c99e7f96f7a0f192839801c568d8a80dcc7091 14-Apr-2003 Guido van Rossum <guido@python.org> SF patch #720991 by Gary Herron:
A small fix for bug #545855 and Greg Chapman's
addition of op code SRE_OP_MIN_REPEAT_ONE for
eliminating recursion on simple uses of pattern '*?' on a
long string.
/external/python/cpython3/Lib/sre_compile.py
577fb5a1db508444eed7bd78fbf76c1f64ed643b 24-Feb-2003 Guido van Rossum <guido@python.org> Fix from SF patch #633359 by Greg Chapman for SF bug #610299:
The problem is in sre_compile.py: the call to
_compile_charset near the end of _compile_info forgets to
pass in the flags, so that the info charset is not compiled
with re.U. (The info charset is used when searching to find
the first character at which a match could start; it is not
generated for patterns beginning with a repeat like '\w{1}'.)
/external/python/cpython3/Lib/sre_compile.py
67c4cb1f13e0a8dbbe8d2447165f27b2ef8e48fd 26-Sep-2002 Martin v. Löwis <martin@v.loewis.de> Disable big charsets in UCS-4 builds. Works around #599377.
Will backport to 2.2
/external/python/cpython3/Lib/sre_compile.py
4fb7027ec00daa8c5f891888dedc1b387853c1e0 27-Jun-2002 Fredrik Lundh <fredrik@pythonware.com> made the code match the comments (1.5.2 compatibility)
/external/python/cpython3/Lib/sre_compile.py
f13eb55d59d80907c9f86574ddd23bce2cb41ff3 02-Jun-2002 Raymond Hettinger <python@rcn.com> Replace boolean test with is None.
/external/python/cpython3/Lib/sre_compile.py
b8f22749853cf79bfbe3709309e67d1a448f4cab 04-Sep-2001 Fred Drake <fdrake@acm.org> Added docstrings by Neal Norwitz. This closes SF bug #450980.
/external/python/cpython3/Lib/sre_compile.py
87cc0c329e9a5181534a9ca9e283669986a32900 21-Jul-2001 Tim Peters <tim.peters@gmail.com> Whitespace normalization, plus:
+ test_quopri.py relied on significant trailing spaces. Fixed.
+ test_dircache.py (still) doesn't work on Windows (directory mtime on
Windows doesn't work like it does on Unix).
/external/python/cpython3/Lib/sre_compile.py
3550dd30bb8cb880840a4f1f492a7f3e9207cab9 19-Jul-2001 Martin v. Löwis <martin@v.loewis.de> Patch #442512: put block indices in the right byte order on bigendian systems.
/external/python/cpython3/Lib/sre_compile.py
19af43d78a8bd85dc39ea62cc4bc130778cfc643 02-Jul-2001 Fredrik Lundh <fredrik@pythonware.com> added martin's BIGCHARSET patch to SRE 2.1.1. martin reports 2x
speedups for certain unicode character ranges.
/external/python/cpython3/Lib/sre_compile.py
b25e1ad253a4d96aea31a7a3fb78522ea354f43a 22-Mar-2001 Fredrik Lundh <fredrik@pythonware.com> sre 2.1b2 update:

- take locale into account for word boundary anchors (#410271)
- restored 2.0's *? behaviour (#233283, #408936 and others)
- speed up re.sub/re.subn
/external/python/cpython3/Lib/sre_compile.py
f2989b22fff921b3394e1709a07f0119370b6d74 18-Feb-2001 Fredrik Lundh <fredrik@pythonware.com> - restored 1.5.2 compatibility (sorry, eric)
- removed __all__ cruft from internal modules (sorry, skip)
- don't assume ASCII for string escapes (sorry, per)
/external/python/cpython3/Lib/sre_compile.py
0de65807e6bdc5254f5a7e99b2f39adeea6b883b 15-Feb-2001 Skip Montanaro <skip@pobox.com> bunch more __all__ lists
also modified check_all function to suppress all warnings since they aren't
relevant to what this test is doing (allows quiet checking of regsub, for
instance)
/external/python/cpython3/Lib/sre_compile.py
2e24044f9db23c3d2195a129f53f2deb73a4e4af 15-Jan-2001 Fredrik Lundh <fredrik@pythonware.com> from the really-stupid-bug department: uppercase literals should match
uppercase strings also when the IGNORECASE flag is set (bug #128899)

(also added test cases for recently fixed bugs to the regression suite
-- or in other words, check in re_tests.py too...)
/external/python/cpython3/Lib/sre_compile.py
b35ffc0417a0861ccf466c0503c4151725a0267a 15-Jan-2001 Fredrik Lundh <fredrik@pythonware.com> added "magic" number to the _sre module, to avoid weird errors caused
by compiler/engine mismatches
/external/python/cpython3/Lib/sre_compile.py
770617b23e286f1147f9480b5f625e88e7badd50 14-Jan-2001 Fredrik Lundh <fredrik@pythonware.com> SRE fixes for 2.1 alpha:

-- added some more docstrings
-- fixed typo in scanner class (#125531)
-- the multiline flag (?m) should't affect the \Z operator (#127259)
-- fixed non-greedy backtracking bug (#123769, #127259)
-- added sre.DEBUG flag (currently dumps the parsed pattern structure)
-- fixed a couple of glitches in groupdict (the #126587 memory leak
had already been fixed by AMK)
/external/python/cpython3/Lib/sre_compile.py
13ac9926ac43d3bff39a08301696105208774b6e 07-Oct-2000 Fredrik Lundh <fredrik@pythonware.com> Fixed too ambitious "nothing to repeat" check. Closes bug #114033.
/external/python/cpython3/Lib/sre_compile.py
7898c3e6852565046a9b8b063d35d66777bf5176 07-Aug-2000 Fredrik Lundh <fredrik@pythonware.com> -- reset marks if repeat_one tail doesn't match
(this should fix Sjoerd's xmllib problem)
-- added skip field to INFO header
-- changed compiler to generate charset INFO header
-- changed trace messages to support post-mortem analysis
/external/python/cpython3/Lib/sre_compile.py
e186983842f0b27606b141010513fa8e3d0cc5db 02-Aug-2000 Fredrik Lundh <fredrik@pythonware.com> final 0.9.8 updates:

-- added REPEAT_ONE operator
-- added ANY_ALL operator (used to represent "(?s).")
/external/python/cpython3/Lib/sre_compile.py
2f2c67d7e5934bdf96835f3c4774388b3e654314 01-Aug-2000 Fredrik Lundh <fredrik@pythonware.com> -- fixed width calculations for alternations
-- fixed literal check in branch operator
(this broke test_tokenize, as reported by Mark Favas)
-- added REPEAT_ONE operator (still not enabled, though)
-- added some debugging stuff (maxlevel)
/external/python/cpython3/Lib/sre_compile.py
29c4ba9ada44d62988c62c85c8046985f10a1c85 01-Aug-2000 Fredrik Lundh <fredrik@pythonware.com> SRE 0.9.8: passes the entire test suite

-- reverted REPEAT operator to use "repeat context" strategy
(from 0.8.X), but done right this time.
-- got rid of backtracking stack; use nested SRE_MATCH calls
instead (should probably put it back again in 0.9.9 ;-)
-- properly reset state in scanner mode
-- don't use aggressive inlining by default
/external/python/cpython3/Lib/sre_compile.py
8a3ebf8ca87a7d2989148d7c218974ab4235ca5d 23-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> -- SRE 0.9.6 sync. this includes:

+ added "regs" attribute
+ fixed "pos" and "endpos" attributes
+ reset "lastindex" and "lastgroup" in scanner methods
+ removed (?P#id) syntax; the "lastindex" and "lastgroup"
attributes are now always set
+ removed string module dependencies in sre_parse
+ better debugging support in sre_parse
+ various tweaks to build under 1.5.2
/external/python/cpython3/Lib/sre_compile.py
2855290b848a95c925cbf605d39044164a71d7e5 05-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> maintenance release:

- reorganized some code to get rid of -Wall and -W4
warnings

- fixed default argument handling for sub/subn/split
methods (reported by Peter Schneider-Kamp).
/external/python/cpython3/Lib/sre_compile.py
72b82ba16dea929b3fa9db5208b2353e8449c2d5 03-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> - fixed grouping error bug

- changed "group" operator to "groupref"
/external/python/cpython3/Lib/sre_compile.py
6f013982366154ce570f69b6117dbcc6b1d5d89a 03-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> - added lookbehind support (?<=pattern), (?<!pattern).
the pattern must have a fixed width.

- got rid of array-module dependencies; the match pro-
gram is now stored inside the pattern object, rather
than in an extra string buffer.

- cleaned up a various of potential leaks, api abuses,
and other minors in the engine module.

- use mal's new isalnum macro, rather than my own work-
around.

- untabified test_sre.py. seems like I removed a couple
of trailing spaces in the process...
/external/python/cpython3/Lib/sre_compile.py
c2301730b8e07ece0b7c4ff6b6b06a4895d370c7 03-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> - experimental: added two new attributes to the match object:
"lastgroup" is the name of the last matched capturing group,
"lastindex" is the index of the same group. if no group was
matched, both attributes are set to None.

the (?P#) feature will be removed in the next relase.
/external/python/cpython3/Lib/sre_compile.py
7cafe4d7e466996d5fc32e871fe834e0e0c94282 02-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> - actually enabled charset anchors in the engine (still not
used by the code generator)

- changed max repeat value in engine (to match earlier array fix)

- added experimental "which part matched?" mechanism to sre; see
http://hem.passagen.se/eff/2000_07_01_bot-archive.htm#416954
or python-dev for details.
/external/python/cpython3/Lib/sre_compile.py
3562f1176403653ebfbef6275d449ad42d1b843a 02-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> -- use charset bitmaps where appropriate. this gives a 5-10%
speedup for some tests, including the python tokenizer.

-- added support for an optional charset anchor to the engine
(currently unused by the code generator).

-- removed workaround for array module bug.
/external/python/cpython3/Lib/sre_compile.py
22d254652099e3a1f157543c7b1b37e3263e65c7 01-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> today's SRE update:

-- changed 1.6 to 2.0 in the file headers

-- fixed ISALNUM macro for the unicode locale. this
solution isn't perfect, but the best I can do with
Python's current unicode database.
/external/python/cpython3/Lib/sre_compile.py
55a4f4a528b6eade932b01d7a0bee0a34fae1f6a 01-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> - fixed code generation error in multiline mode

- fixed parser flag propagation (of all stupid bugs...)
/external/python/cpython3/Lib/sre_compile.py
4ccea94152599d7a80c01d5ebddb70f5abf3ce21 30-Jun-2000 Fredrik Lundh <fredrik@pythonware.com> - reverted to "\x is binary byte"

- removed evil tabs from sre_parse and sre_compile
/external/python/cpython3/Lib/sre_compile.py
0640e1161f37fd3415e9efdbde1e293efb98978c 30-Jun-2000 Fredrik Lundh <fredrik@pythonware.com> the mad patcher strikes again:

-- added pickling support (only works if sre is imported)

-- fixed wordsize problems in engine
(instead of casting literals down to the character size,
cast characters up to the literal size (same as the code
word size). this prevents false hits when you're matching
a unicode pattern against an 8-bit string. (unfortunately,
this broke another test, but I think the test should be
changed in this case; more on that on python-dev)

-- added sre.purge function
(unofficial, clears the cache)
/external/python/cpython3/Lib/sre_compile.py
43b3b49b5ab486295baef3a35cd8e836f735c065 30-Jun-2000 Fredrik Lundh <fredrik@pythonware.com> - fixed lookahead assertions (#10, #11, #12)

- untabified sre_constants.py
/external/python/cpython3/Lib/sre_compile.py
90a07913229ada1bb3011cfa08a1e56bca31daaf 30-Jun-2000 Fredrik Lundh <fredrik@pythonware.com> - pedantic: make sure "python -t" doesn't complain...
/external/python/cpython3/Lib/sre_compile.py
01016fe972a90eb57bafeb1f4a73f334c201c3c2 30-Jun-2000 Fredrik Lundh <fredrik@pythonware.com> - fixed split behaviour on empty matches

- fixed compiler problems when using locale/unicode flags

- fixed group/octal code parsing in sub/subn templates
/external/python/cpython3/Lib/sre_compile.py
29c08beab08ae3e8b9686a119f5cf0afe99ed918 30-Jun-2000 Fredrik Lundh <fredrik@pythonware.com> still trying to figure out how to fix the remaining
group reset problem. in the meantime, I added some
optimizations:

- added "inline" directive to LOCAL

(this assumes that AC_C_INLINE does what it's
supposed to do). to compile SRE on a non-unix
platform that doesn't support inline, you have
to add a "#define inline" somewhere...

- added code to generate a SRE_OP_INFO primitive

- added code to do fast prefix search

(enabled by the USE_FAST_SEARCH define; default
is on, in this release)
/external/python/cpython3/Lib/sre_compile.py
8094611eb8abe9f9d1e1498f36324eebabaa0a09 29-Jun-2000 Fredrik Lundh <fredrik@pythonware.com> - fixed another split problem
(those semantics are weird...)

- got rid of $Id$'s (for the moment, at least). in other
words, there should be no more "empty" checkins.

- internal: some minor cleanups.
/external/python/cpython3/Lib/sre_compile.py
be2211e9401a0be96915c473ef99041beb5a4992 29-Jun-2000 Fredrik Lundh <fredrik@pythonware.com> - fixed split
(test_sre still complains about split, but that's caused by
the group reset bug, not split itself)

- added more mark slots
(should be dynamically allocated, but 100 is better than 32.
and checking for the upper limit is better than overwriting
the memory ;-)

- internal: renamed the cursor helper class

- internal: removed some bloat from sre_compile
/external/python/cpython3/Lib/sre_compile.py
6c68dc7b1afb8f634604435dd0fc2442c8e93e0d 29-Jun-2000 Fredrik Lundh <fredrik@pythonware.com> - removed "alpha only" licensing restriction
- removed some hacks that worked around 1.6 alpha bugs
- removed bogus test code from sre_parse
/external/python/cpython3/Lib/sre_compile.py
436c3d58a2570f3b599e59b4071f944f774ec441 29-Jun-2000 Fredrik Lundh <fredrik@pythonware.com> towards 1.6b1
/external/python/cpython3/Lib/sre_compile.py
b1aa19515ffdb84c6633ee0344196fd8bd50ade0 01-Jun-2000 Jeremy Hylton <jeremy@alum.mit.edu> Fredrik Lundh: here's the 96.6% version of SRE
/external/python/cpython3/Lib/sre_compile.py
b81e70ebdb28246e427249d386518bc03d08c959 10-Apr-2000 Guido van Rossum <guido@python.org> Fredrik Lundh: new snapshot. Mostly reindented.
This one should work with unicode expressions, and compile
a bit more silently.
/external/python/cpython3/Lib/sre_compile.py
e3ba931aa439fdfe69f1c1c750ce06427f5f607b 02-Apr-2000 Andrew M. Kuchling <amk@amk.ca> This patch looks large, but it just deletes the ^M characters and
untabifies the files. No actual code changes were made.
/external/python/cpython3/Lib/sre_compile.py
7627c0de6968471996ce05aab200115d56efa1d5 31-Mar-2000 Guido van Rossum <guido@python.org> Added Fredrik Lundh's sre module and its supporting cast.

NOTE: THIS IS VERY ROUGH ALPHA CODE!
/external/python/cpython3/Lib/sre_compile.py