[C++-sig] Re: Re: sub module support in V2

David Abrahams david.abrahams at rcn.com
Fri Jun 7 23:17:02 CEST 2002


----- Original Message -----
From: "holger krekel" <pyth at devel.trillke.net>
To: <c++-sig at python.org>
Sent: Friday, June 07, 2002 5:11 PM
Subject: Re: [C++-sig] Re: Re: sub module support in V2


> Ralf W. Grosse-Kunstleve wrote:
> > Interesting discussion. I am still wondering, though, why support for
> > sub-modules is important. What can be done with sub-modules that cannot
be done
> > within the framework of a regular Python package?
>
> IMO submodules allow nice grouping of related classes/functions internal
> to a module. Isn't this question semantically similar to the question of
> why to have namespaces like ns1::subns:anothersubns... in C++?

Sure, but you can do that with packages and separately-compiled extension
modules for each submodule. Is there some great advantage to being able to
compile a bunch of submodules into a single object?

> Just wondering,
>
>     holger


me-too-ly y'rs,
dave







More information about the Cplusplus-sig mailing list