Marcin 'Qrczak' Kowalczyk wrote:

 > "Guido van Rossum" <[EMAIL PROTECTED]> writes:
 >
 >> - Can't we require a C99 compiler and use C99 struct initialization?
 >> Then the table lines could look like
 >>
 >>   tp_new = Noddy_new,
 >>   tp_init = Noddy_init,
 >
 > The C99 syntax is:
 >
 >     .tp_new = Noddy_new,
 >     .tp_init = Noddy_init,

I'm beginning to wonder if a preprocessor isn't the right way to get 
around both the syntax issues related to type objects, and also a bunch 
of other issues that keep cropping up if you're doing serious extension 
development (better code generation for ParseTuple is one of those).  a 
preprocessor would also give us more leeway to tweak the Python/C glue 
layer in future releases.

if done right, the preprocessor would only be required during module 
development; not by people building C extensions.

</F>

_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to