summaryrefslogtreecommitdiffstats
path: root/Modules/pcremodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Python 2.0 is not supposed to use string exceptions in the standard libraryFred Drake2000-07-061-1/+1
| | | | | & extensions, so create exceptions in extension modules using the PyErr_NewException() API.
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* Vladimir Marangozov's long-awaited malloc restructuring.Guido van Rossum2000-05-031-2/+2
| | | | | | | | | | For more comments, read the patches@python.org archives. For documentation read the comments in mymalloc.h and objimpl.h. (This is not exactly what Vladimir posted to the patches list; I've made a few changes, and Vladimir sent me a fix in private email for a problem that only occurs in debug mode. I'm also holding back on his change to main.c, which seems unnecessary to me.)
* Charles G Waldman: Doing a PyObject_New then PyMem_DEL causes havoc ifGuido van Rossum2000-04-251-3/+3
| | | | you are trying to use Py_TRACE_REFS.
* Massive patch by Skip Montanaro to add ":name" to as manyGuido van Rossum2000-02-291-3/+3
| | | | PyArg_ParseTuple() format string arguments as possible.
* Patch from Vladimir Marangozov <marangoz@python.inrialpes.fr>:Andrew M. Kuchling2000-02-181-4/+2
| | | | | | The buffers self->regex and self->regex_extra are allocated in pcre_compile() and pcre_study() via pcre_malloc, but are released via free() instead of pcre_free.
* Patch from Paul Sokolovsky <Paul.Sokolovsky@technologist.com>:Fred Drake2000-02-041-1/+3
| | | | | Attached is patch (against 1.5.2 release) to allow some modules to be buildable as pyd's (usual &PyType_Type stuff).
* PyPcre_expand(): Fixed two memory leaks, where a PyString_FromString()Barry Warsaw1999-02-011-3/+26
| | | | | | | | | | | 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.
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* Use the t# format where appropriate. Greg Stein.Guido van Rossum1998-10-081-2/+2
|
* Add test for failure of the getattr call in pcre_expand() -- it usedGuido van Rossum1998-07-171-0/+4
| | | | to core dump if the first argument did not have a "group" attribute.
* Fix benign problems found by a picky SGI compiler (unreachable breakGuido van Rossum1998-07-071-9/+0
| | | | after a return).
* Address warnings issued by the MSVC++ compilerGuido van Rossum1998-04-101-1/+0
|
* AMK's latestGuido van Rossum1998-04-031-40/+35
|
* patch for re.sub bug, by AMK.Guido van Rossum1998-03-101-3/+1
|
* AMK's latest -- synchronized with PCRE 1.04.Guido van Rossum1997-12-221-1/+1
|
* AMK's latest; plus three null bytes that I added for purifyGuido van Rossum1997-12-171-13/+29
|
* New pcre version from AMKGuido van Rossum1997-12-081-438/+388
|
* Add proper (getattrfunc) cast in Pcre_Type.Guido van Rossum1997-10-201-1/+1
|
* Checking in AMK's latest installement.Guido van Rossum1997-10-081-114/+50
| | | | (Two small changes to shup up gcc added.)
* New "re" regular expression support.Guido van Rossum1997-10-061-0/+775
This code is written by Philip Hazel and Andrew Kuchling. It requires a new "re.py" module, too.