[IronPython] assembly versioning in scripts
Marty.Nelson at symyx.com
Mon Apr 20 14:05:59 PDT 2009
One of our developers asked me this question today, I don't have an
answer, so any help would be appreciated:
We came across an issue while testing the NuGenesis extension related to
assembly versioning in scripts. The extension has a custom assembly,
which is called by script:
from Symyx.SDMS.NuGenesis.SN6 import *
We are adding reference to a version-specific assembly, and then we
import from a namespace inside the assembly.
We have two document templates - each of them calls a different version
of the extension assembly from the script. After opening both templates
within the same Notebook session, both versions of the assembly are in
memory, and at this point the import call seems to import the version
that was loaded the last time (as opposed to the one we reference by
version in the script). Is there a way around this?
Notice: This e-mail message, together with any attachments, contains
information of Symyx Technologies, Inc. or any of its affiliates or
subsidiaries that may be confidential, proprietary, copyrighted,
privileged and/or protected work product, and is meant solely for
the intended recipient. If you are not the intended recipient, and
have received this message in error, please contact the sender
immediately, permanently delete the original and any copies of this
email and any attachments thereto.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users