summaryrefslogtreecommitdiff
path: root/Modules/_sre.c
AgeCommit message (Expand)AuthorLines
2010-01-14Merged revisions 77499 via svnmerge fromAntoine Pitrou-3/+8
2008-09-10- Issue #3629: Fix sre "bytecode" validator for an end case.Guido van Rossum-3/+4
2008-08-05Tracker issue 3487: sre "bytecode" verifier.Guido van Rossum-0/+474
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-3/+3
2008-05-26Renamed PyString to PyBytesChristian Heimes-3/+3
2008-01-18Silence Coverity false alerts with CIDs #172, #183, #184Christian Heimes-1/+2
2008-01-08Issue 846388. Adds a call to PyErr_CheckSignals toFacundo Batista-0/+8
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes-1/+1
2007-09-10Patch # 1140 (my code, approved by Effbot).Guido van Rossum-17/+8
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-1/+1
2006-10-04Cause a PyObject_Malloc() failure to trigger a MemoryError, and thenAndrew M. Kuchling-2/+21
2006-08-12Try to handle a malloc failure. I'm not entirely sure this is correct.Neal Norwitz-0/+3
2006-06-12Impl ssize_tNeal Norwitz-93/+98
2006-05-29Make use of METH_O and METH_NOARGS where possible.Georg Brandl-3/+3
2006-05-28METH_NOARGS functions do get called with two args.Georg Brandl-5/+5
2006-05-28Fix C function calling conventions in _sre module.Georg Brandl-38/+18
2006-05-27needforspeed: use PyObject_MALLOC instead of system malloc for smallJack Diederich-4/+4
2006-04-18C++ compiler cleanup: proper castsSkip Montanaro-2/+2
2006-04-12Move constructors, add some casts to make C++ compiler happy. Still a problemAnthony Baxter-202/+201
2006-03-16Rename sre.py -> re.pyNeal Norwitz-2/+4
2006-03-07Thanks to Coverity, these were all reported by their Prevent tool.Neal Norwitz-1/+1
2006-02-27Revert backwards-incompatible const changes.Martin v. Löwis-8/+8
2006-01-21_compile(): raise an exception if downcasting to SRE_CODETim Peters-37/+40
2006-01-19Check return result from Py_InitModule*(). This API can fail.Neal Norwitz-0/+2
2005-12-10Add const to several API functions that take char *.Jeremy Hylton-8/+8
2004-12-02Fixing bug #1072259 in SRE.Gustavo Niemeyer-7/+10
2004-09-24Add docstrings for regular expression objects and methods.Raymond Hettinger-8/+51
2004-09-03Fixing bug #817234, which made SRE get into an infinite loop onGustavo Niemeyer-5/+3
2004-07-15Moved SunPro warning suppression into pyport.h and out of individualNicholas Bastin-4/+0
2004-06-17Fixed end-of-loop code not reached warning when using SunPro CNicholas Bastin-0/+4
2004-05-31Add weakref support to sockets and re pattern objects.Raymond Hettinger-1/+24
2004-02-14- Fixing annoying warnings.Gustavo Niemeyer-7/+10
2003-12-13Cleaning up recursive pieces left in the reorganization.Gustavo Niemeyer-119/+16
2003-10-18Removing dead code.Gustavo Niemeyer-11/+0
2003-10-17Implemented non-recursive SRE matching.Gustavo Niemeyer-438/+740
2003-10-12Simplify and speedup uses of Py_BuildValue():Raymond Hettinger-5/+5
2003-06-26Fixing bug described in patch #756032, where SRE reads invalid dataGustavo Niemeyer-1/+1
2003-06-09Changes to sre.c after the application of patch #726869 have increasedAndrew MacIntyre-5/+11
2003-04-30Allow _sre.c to compile with Python 2.2Andrew M. Kuchling-0/+4
2003-04-27- Included detailed documentation in _sre.c explaining how, when, and whyGustavo Niemeyer-17/+41
2003-04-27Fix for part of the problem mentioned in #725149 by Greg Chapman.Gustavo Niemeyer-8/+10
2003-04-27Applied patch #725106, by Greg Chapman, fixing capturing groupsGustavo Niemeyer-0/+10
2003-04-27Applying patch #726869 by Andrew I MacIntyre, reducing in _sre.c theGustavo Niemeyer-0/+9
2003-04-22Made MAX_UNTIL/MIN_UNTIL code more coherent about mark protection,Gustavo Niemeyer-4/+6
2003-04-20More work on bug #672491 and patch #712900.Gustavo Niemeyer-23/+38
2003-04-20- Fixed bug #672491. This change restores the behavior of lastindex/lastgroupGustavo Niemeyer-5/+4
2003-04-19Fully support 32-bit codes. Enable BIGCHARSET in UCS-4 builds.Martin v. Löwis-10/+42
2003-04-14SF patch #720991 by Gary Herron:Guido van Rossum-0/+60
2002-11-22fix for SF #635398 (don't "downcast" return strings from unicode to ascii)Fredrik Lundh-21/+4
2002-11-10Make private functions static so we don't pollute the namespaceNeal Norwitz-1/+2