[Python-Dev] Renaming Include/object.h (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Sat Jan 6 01:41:41 CET 2007


Andrea Griffini schrieb:

I've a partially related question... why isn't the module structure in an include file .h and is instead in Objects/moduleobject.c ? For the cached lookup optimization I copied the definition but that's surely a bad way to do it.... I however wondered if there were good reasons for module objects for not being published.

I guess it's included in the C file because that's the easiest way to implement it. AFAICT, it has been that way from the beginning.

Regards, Martin



More information about the Python-Dev mailing list