Multfile C Extensions

Dieter Maurer dieter at
Mon May 29 17:19:11 EDT 2000

"Pete Shinners" <pshinners at> writes on Sun, 28 May 2000 19:54:12 GMT:
> i've got a C python extension that has gotten pretty large.
> i'd like to break the file up into smaller components, but
> i'm finding this is actually pretty tricky.
> since all functions/variables must be static (aside from init)
> how can i get the different files to work with each other?
It is not necessary but possible that objects are static.

Make them global, if this helps you.
Give them prefixes to reduce the risk of name clashes.


More information about the Python-list mailing list