[C++-sig] Multiple python interpreter contexts
Ralf W. Grosse-Kunstleve
rwgk at yahoo.com
Tue Feb 22 23:59:37 CET 2005
--- Clay Culver <clay at idleengineer.net> wrote:
> > I'm a bit puzzled by this, too, as comments in dict.hpp indicate:
> > // dict() -> new empty dictionary.
> > // dict(mapping) -> new dictionary initialized from a mapping
> > object's
> > // (key, value) pairs.
> > // dict(seq) -> new dictionary initialized as if via:
> Thanks, that did it. I'm still a bit baffled by that as well.
> Certainly in Python that's how it's done: calling the constructor
> explicitly will perform a deep copy, giving you a new object.
Look for "Beware" and "astute".
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
More information about the Cplusplus-sig