[Python-checkins] r46516 - python/trunk/Modules/_sre.c
Michael Hudson
mwh at python.net
Mon May 29 00:28:56 CEST 2006
"georg.brandl" <python-checkins at python.org> writes:
> Author: georg.brandl
> Date: Mon May 29 00:14:04 2006
> New Revision: 46516
>
> Modified:
> python/trunk/Modules/_sre.c
> Log:
> Fix C function calling conventions in _sre module.
>
>
>
> Modified: python/trunk/Modules/_sre.c
> ==============================================================================
> --- python/trunk/Modules/_sre.c (original)
> +++ python/trunk/Modules/_sre.c Mon May 29 00:14:04 2006
> @@ -1623,7 +1623,7 @@
> static PyObject*pattern_scanner(PatternObject*, PyObject*);
>
> static PyObject *
> -sre_codesize(PyObject* self, PyObject* args)
> +sre_codesize(PyObject* self)
> {
This is the wrong declaration for a NOARGS function (see line 3538 of
ceval.c if you don't believe me, or comments on python.org/sf/660559).
Cheers,
mwh
--
Just point your web browser at http://www.python.org/search/ and
look for "program", "doesn't", "work", or "my". Whenever you find
someone else whose program didn't work, don't do what they
did. Repeat as needed. -- Tim Peters, on python-help, 16 Jun 1998
More information about the Python-checkins
mailing list