Studio:Special considerations for Python users

From STRIDE Wiki
Revision as of 17:45, 12 February 2009 by Ivailop (talk | contribs)
Jump to navigation Jump to search

STRIDE supports Python release 2.2.2. We do not currently support later versions due to ActiveState changes to Python, including the fact that Python's inproc server threading model was changed from Both to Apartment:

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{DF630910-1C1D-11d0-AE36-8C0F5E000000}\InprocServer32] 
"ThreadingModel"="Apartment"

This prevents it from being used in an MTA, which is what STRIDE Studio uses to run scripts. Changing the value may cause severe side effects; therefore, we only support Python release 2.2.2, available at the following location:

[1]

Update: This may have been fixed in ActiveState Python 2.5.0.0, but this has not yet been confirmed by S2.