Fred Drake
0d40ba4cdf
Patch from Paul Sokolovsky <Paul.Sokolovsky@technologist.com>:
...
Attached is patch (against 1.5.2 release) to allow some modules
to be buildable as pyd's (usual &PyType_Type stuff).
2000-02-04 20:33:49 +00:00
Barry Warsaw
6aa42579be
PyPcre_expand(): Fixed two memory leaks, where a PyString_FromString()
...
was appended to a list. Lists are reference count neutral, so the
string must be DECREF'd. Also added some checks for the return value
of PyList_Append().
Note: there are still some memory problems reported by Purify (I get
two Array Bounds Reads still and an Unitialized Memory Read). Also,
in scanning the code, there appears to be some potential problems
where return values aren't checked. To much to attack now though.
1999-02-01 17:09:00 +00:00
Guido van Rossum
3886bb6997
Add DL_EXPORT() to all modules that could possibly be used
...
on BeOS or Windows.
1998-12-04 18:50:17 +00:00
Guido van Rossum
7e48898d86
Use the t# format where appropriate. Greg Stein.
1998-10-08 02:25:24 +00:00
Guido van Rossum
1a78553093
Add test for failure of the getattr call in pcre_expand() -- it used
...
to core dump if the first argument did not have a "group" attribute.
1998-07-17 20:19:48 +00:00
Guido van Rossum
c69bac539c
Fix benign problems found by a picky SGI compiler (unreachable break
...
after a return).
1998-07-07 22:21:45 +00:00
Guido van Rossum
39b0f8976c
Address warnings issued by the MSVC++ compiler
1998-04-10 21:52:06 +00:00
Guido van Rossum
042ff9eb3a
AMK's latest
1998-04-03 21:13:31 +00:00
Guido van Rossum
816671c666
patch for re.sub bug, by AMK.
1998-03-10 04:55:29 +00:00
Guido van Rossum
557dea1ca2
AMK's latest -- synchronized with PCRE 1.04.
1997-12-22 22:46:52 +00:00
Guido van Rossum
58132c6799
AMK's latest; plus three null bytes that I added for purify
1997-12-17 00:24:13 +00:00
Guido van Rossum
5070060d40
New pcre version from AMK
1997-12-08 17:15:20 +00:00
Guido van Rossum
cb4d3032ae
Add proper (getattrfunc) cast in Pcre_Type.
1997-10-20 23:21:23 +00:00
Guido van Rossum
c386107838
Checking in AMK's latest installement.
...
(Two small changes to shup up gcc added.)
1997-10-08 02:07:40 +00:00
Guido van Rossum
51b3aa3d38
New "re" regular expression support.
...
This code is written by Philip Hazel and Andrew Kuchling.
It requires a new "re.py" module, too.
1997-10-06 14:43:11 +00:00