[C++-sig] Re: Presenting a Python embedding tutorial for Boost.Python

Mike Rovner mike at bindkey.com
Tue Dec 10 22:27:55 CET 2002

"Dirk Gerrits" <dirk at gerrits.homeip.net> wrote in message
news:at59bp$skj$1 at main.gmane.org...
> Furthermore, there should be a way to set/query the currently active
> interpreter. Member functions like this:
>      bool is_current() const;
>      void make_current();
> were the first things that came to mind.

How about being consistent with scope() interface?
Creating new interpreter changes current, but one can create
objects to keep and use another.

Just my 2c.

More information about the Cplusplus-sig mailing list