Steve Dower <steve.do...@python.org> added the comment:

CMD is not going to be subjected to compatibility shims that hide the version 
number, and I *think* those are not inherited by child processes. So it can use 
the basic APIs. (It's also likely to be the comparison that most people will 
check against.)

I agree that using WMI is probably overkill. PyWin32 or a new extension module 
could handle it for people who have a more urgent need.

----------

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

Reply via email to