summaryrefslogtreecommitdiff
path: root/Modules/_sre.c
AgeCommit message (Expand)AuthorLines
2018-07-31[2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479)Serhiy Storchaka-2/+2
2018-06-16Fix compiler warnings on Windows (GH-7729)Victor Stinner-11/+11
2017-09-13consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563)Benjamin Peterson-4/+4
2017-05-18[2.7] bpo-30363: Backport warnings in the re module. (#1577)Serhiy Storchaka-0/+14
2016-08-15do not decref value borrowed from list (closes #27774)Benjamin Peterson-3/+1
2016-04-10Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREFSerhiy Storchaka-1/+1
2016-04-06Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka-1/+1
2015-12-24Issue #20440: Massive replacing unsafe attribute setting code with specialSerhiy Storchaka-2/+1
2015-07-06Issue #18684: Fixed reading out of the buffer in the re module.Serhiy Storchaka-14/+41
2014-09-30allow longs as indexes to group() (closes #22530)Benjamin Peterson-1/+1
2014-03-06Issue #20283: RE pattern methods now accept the string keyword parametersSerhiy Storchaka-16/+81
2013-10-27Issue #19405: Fixed outdated comments in the _sre module.Serhiy Storchaka-2/+1
2013-09-05Issue #18672: Fixed format specifiers for Py_ssize_t in debugging output inSerhiy Storchaka-14/+22
2013-08-03Issue #17998: Fix an internal error in regular expression engine.Serhiy Storchaka-6/+6
2013-04-13Issue #17016: Get rid of possible pointer wraparounds and integer overflowsSerhiy Storchaka-11/+11
2013-02-16Issue #9669: Protect re against infinite loops on zero-width matching inSerhiy Storchaka-2/+7
2013-02-16Issue #13169: The maximal repetition number in a regular expression has beenSerhiy Storchaka-6/+12
2013-01-10use PyInt_FromSsize_t instead of PyLong_FromSsize_t (#10182)Benjamin Peterson-4/+4
2012-12-25rename MathcObject to match object in doctrings for re module (#16760)Andrew Svetlov-1/+1
2012-12-23Issue #16443: Add docstrings to regular expression match objects.Andrew Svetlov-9/+49
2012-12-101 << 31 is invalid for signed integers, fix it by making 1 unsigned.Gregory P. Smith-2/+2
2012-12-02Issue #10182: The re module doesn't truncate indices to 32 bits anymore.Antoine Pitrou-5/+5
2012-11-20Issue #1160: Fix compiling large regular expressions on UCS2 builds.Antoine Pitrou-4/+7
2011-10-20Fix Issue 12604 - Use a proper no-op macro expansion for VTRACE macro in _sre.cSenthil Kumaran-1/+1
2011-05-17stop using the old brain-dead interface for providing attributes/methodsBenjamin Peterson-120/+118
2010-05-03Remove unused variables and a variable initialization.Brett Cannon-6/+6
2010-04-06ready _sre typesBenjamin Peterson-2/+3
2010-01-14Issue #3299: Fix possible crash in the _sre module when given badAntoine Pitrou-3/+8
2009-07-28Issue #6561: '\d' regular expression should not match characters ofMark Dickinson-1/+1
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