Studio:Special considerations for Python users: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|
(No difference)
|
Revision as of 22:11, 18 August 2009
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:
Update: This may have been fixed in ActiveState Python 2.5.0.0, but this has not yet been confirmed by S2.