Steve Dower added the comment:

Well __version is determined by looking at sys.version to see what version was 
used to build Python, so you aren't really getting the "actual" one, though in 
practice it doesn't matter.

For Python 3.5 and later you could get different versions from the one that was 
used to build, but it will always be at least 14.0 and there's deliberately no 
way for people to depend on that information other than in C source code.

----------

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

Reply via email to