[Python-Dev] Re: [Python-checkins] python/dist/src/Objects dictobject.c,2.127,2.128 floatobject.c,2.113,2.114 intobject.c,2.84,2.85 listobject.c,2.120,2.121 longobject.c,1.119,1.120 rangeobject.c,2.42,2.43 stringobject.c,2.169,2.170 tupleobject.c,2.69,2.70 typeobject.c,2.160,2.161 unicodeobject.c,2.155,2.156 xxobject.c,2.20,2.21

M.-A. Lemburg mal@lemburg.com
Wed, 17 Jul 2002 22:32:38 +0200


Jeremy Hylton wrote:
> Sigh :-(.  Both C89 and C99 say that what we're doing is legal.
> 
> I'll try this on the SF compile farm's True64 and see where I get.
> Reports of failures on other platforms would be appreciated.  (Actual
> compiler output rather than include files.  I don't want to believe
> you <0.3 wink>.) 

Can't provide you with that. I simply collect feedback from
users having compile problems in that file.

Note that most of these problems are related to declaring
arrays as static forward (rather than C functions as Python
normally does):

staticforward PyMethodDef mxODBCursor_Methods[];

...tons of code...

statichere PyMethodDef mxODBCursor_Methods[] =
{
     /* DB API interface */
...

I could eliminate those by clever rearranging the code,
but have never had an actual need for it.

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
_______________________________________________________________________
eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,...
Python Consulting:                               http://www.egenix.com/
Python Software:                    http://www.egenix.com/files/python/