Nikita Nemkin added the comment:

COM should be initialized on demand by C modules that need it. They might need 
STA or MTA, it's their choice to make.

Python core (ceval and builtins) doesn't need COM and shouldn't impose COM 
threading models on any threads it creates. Things like -X:STA are not Python's 
concern at all. Python code (interpreted) can't access COM objects directly, it 
always goes through C modules, which know better.

Also, COM using apps are very likely to be GUI apps and need STA main thread. 
MTA by default makes no sense.

PS. AMSI is insane. In what world would Pyhton interpteter send my code for 
analysis to who knows where and without even an option to disable it (because 
"security")?

----------
nosy: +nnemkin

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27417>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to