[Python-3000] A better way to initialize PyTypeObject
Brent.Benson at oracle.com
Tue Nov 28 17:10:19 CET 2006
Guido van Rossum wrote:
> - 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,
> This probably means the conversion tool would be even simpler (a
> couple of lines of sed would do). It has my vote if C99 is available
> on Windows (GCC covers all other platforms -- vendors that don't have
> a C99 compiler yet lose, it's 2006 now for X sake).
My reading of the Microsoft Visual C++ documentation indicates that they
do not support or plan to support C99. On the other hand, it looks like
the Intel V8 compiler for Windows supports most of C99 including the new
style struct initialization.
More information about the Python-3000