[Python-checkins] r46516 - python/trunk/Modules/_sre.c
Georg Brandl
g.brandl at gmx.net
Mon May 29 00:40:20 CEST 2006
Michael Hudson wrote:
> "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).
Well, why shouldn't I... fixed.
Georg
More information about the Python-checkins
mailing list