Benjamin Peterson
|
0f3596a136
|
do not decref value borrowed from list (closes #27774)
|
2016-08-15 22:01:41 -07:00 |
|
Serhiy Storchaka
|
763a61ca95
|
Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
in places where Py_DECREF was used.
|
2016-04-10 18:05:12 +03:00 |
|
Serhiy Storchaka
|
bc62af1bbe
|
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
|
2016-04-06 09:51:18 +03:00 |
|
Serhiy Storchaka
|
5951f2300f
|
Issue #20440: Massive replacing unsafe attribute setting code with special
macro Py_SETREF.
|
2015-12-24 10:35:35 +02:00 |
|
Serhiy Storchaka
|
7865f218b4
|
Issue #18684: Fixed reading out of the buffer in the re module.
|
2015-07-06 13:58:24 +03:00 |
|
Benjamin Peterson
|
bc4ece5775
|
allow longs as indexes to group() (closes #22530)
|
2014-09-30 22:04:28 -04:00 |
|
Serhiy Storchaka
|
e50fe4c9eb
|
Issue #20283: RE pattern methods now accept the string keyword parameters
as documented. The pattern and source keyword parameters are left as
deprecated aliases.
|
2014-03-06 12:24:29 +02:00 |
|
Serhiy Storchaka
|
fdb73ed486
|
Issue #19405: Fixed outdated comments in the _sre module.
|
2013-10-27 08:00:57 +02:00 |
|
Serhiy Storchaka
|
cf29ba8cf0
|
Issue #18672: Fixed format specifiers for Py_ssize_t in debugging output in
the _sre moduel.
|
2013-09-05 18:02:57 +03:00 |
|
Serhiy Storchaka
|
3ade66c203
|
Issue #17998: Fix an internal error in regular expression engine.
|
2013-08-03 19:26:33 +03:00 |
|
Serhiy Storchaka
|
616f2fe28c
|
Issue #17016: Get rid of possible pointer wraparounds and integer overflows
in the re module. Patch by Nickolai Zeldovich.
|
2013-04-13 21:15:10 +03:00 |
|
Serhiy Storchaka
|
6a8e2b4982
|
Issue #9669: Protect re against infinite loops on zero-width matching in
non-greedy repeat. Patch by Matthew Barnett.
|
2013-02-16 21:23:01 +02:00 |
|
Serhiy Storchaka
|
e18e05cce9
|
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).
|
2013-02-16 16:47:15 +02:00 |
|
Benjamin Peterson
|
9dccb01703
|
use PyInt_FromSsize_t instead of PyLong_FromSsize_t (#10182)
|
2013-01-10 10:37:47 -06:00 |
|
Andrew Svetlov
|
c08ded9e4a
|
rename MathcObject to match object in doctrings for re module (#16760)
|
2012-12-25 18:50:03 +02:00 |
|
Andrew Svetlov
|
1c6c90fc73
|
Issue #16443: Add docstrings to regular expression match objects.
Patch by Anton Kasyanov.
|
2012-12-23 20:09:01 +02:00 |
|
Gregory P. Smith
|
64ab35e11d
|
1 << 31 is invalid for signed integers, fix it by making 1 unsigned.
Found by Clang trunk's Undefined-Behavior Sanitizer. [more to come]
|
2012-12-10 17:45:54 -08:00 |
|
Antoine Pitrou
|
b83575b0a5
|
Issue #10182: The re module doesn't truncate indices to 32 bits anymore.
Patch by Serhiy Storchaka.
|
2012-12-02 12:52:36 +01:00 |
|
Antoine Pitrou
|
b83ea144cc
|
Issue #1160: Fix compiling large regular expressions on UCS2 builds.
Patch by Serhiy Storchaka.
|
2012-11-20 22:30:42 +01:00 |
|
Senthil Kumaran
|
d583068e7d
|
Fix Issue 12604 - Use a proper no-op macro expansion for VTRACE macro in _sre.c
|
2011-10-20 02:13:23 +08:00 |
|
Benjamin Peterson
|
6116d4a1d1
|
stop using the old brain-dead interface for providing attributes/methods
This closes #12099.
|
2011-05-17 18:31:20 -05:00 |
|
Brett Cannon
|
8ffe7bbb72
|
Remove unused variables and a variable initialization.
Found using Clang's static analyzer.
|
2010-05-03 23:51:28 +00:00 |
|
Benjamin Peterson
|
e266d3e804
|
ready _sre types
|
2010-04-06 03:34:09 +00:00 |
|
Antoine Pitrou
|
efdddd3370
|
Issue #3299: Fix possible crash in the _sre module when given bad
argument values in debug mode. Patch by Victor Stinner.
|
2010-01-14 17:25:24 +00:00 |
|
Mark Dickinson
|
fe67bd9168
|
Issue #6561: '\d' regular expression should not match characters of
category [No]; only those of category [Nd]. (Backport of r74237
from py3k.)
|
2009-07-28 20:35:03 +00:00 |
|