[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:58:15 +0200


Guido van Rossum wrote:
>>Can't provide you with that. I simply collect feedback from
>>users having compile problems in that file.
> 
> 
> Of course you never hear from users when their compiler is fixed so
> that a particular work-around is no longer necessary, so you keep
> collecting cruft until it collapses under its own weight.

True; it doesn't hurt too much, though :-)

>>Note that most of these problems are related to declaring
>>arrays as static forward (rather than C functions as Python
>>normally does):
> 
> 
> Note that staticforward was *only* intended for data declarations.  It
> was never intended (nor needed) for functions.

So what I'm doing is intended and what Jeremy corrected
is not. Gald to hear that :-)

>>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.
> 
> 
> You shouldn't need to.
> 
> I suggest that we keep Jeremy's checkins in 2.3.  Hopefully during the
> alpha or beta release cycle we will find out if there *really* are
> still platforms with broken compilers.  At worst, it will show up
> after 2.3 final is released, and then we can fix it in 2.3.1.  You
> won't have to target mx for 2.3 for another 18 months (assuming the
> PBF ever releases Python-in-a-Tie).

It's easy enough for me to add the #defines to the
support header file if you take it out of the distribution,
so it wouldn't hurt.

-- 
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/