> > Right, I'm pretty sure that right now Python doesn't have any way to
> share symbols between .c files without also exposing them in the C
> API.

On other C projects I've worked on, the public API is expressed in one set of 
header files, and internal APIs that need to be exposed across modules are 
described in a different set of internal header files, and developers who 
incorrectly use internal APIs by including the internal headers could see 
breakage when the internals change ... excuse my naïveté, as I haven't done 
much at Python's C level - does this discipline/approach not apply to CPython?

Regards,

Vinay Sajip
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/XI4Y4M7WBXSMPY2ZDMD6IQWBAOFR6WYE/

Reply via email to