Re: [Orbit-python-list] Implications of latest commits (your test suite)
Status: Inactive
Brought to you by:
tack
|
From: Jason T. <ta...@li...> - 2001-05-28 04:52:23
|
> Let me freeze this here: What is supposed to happen if we never import
> Foo? Is _anything at all_ doable on the ref? What should it's __class__
> (and __dict__) say?
You won't be able to do much really, except invoke the base CORBA.Object
methods. (Its __class__ would be CORBA.Object, and __dict__ would be
empty.)
> This happens when we do something like:
>
> ns = orb.resolve_initial_references("NameService")
>
> without importing CosNaming. I just wonder if a warning or something is in
> order in this case.
Right. A warning isn't necessary. The user will quickly figure out he
can't invoke on it. :)
Jason.
|