maintain compatibility with Python 2.6

I would like to propose to maintain compatibility with Python 2.6 by not making use of named component attributes of sys,version_info introduced in Python 2.7. Of course, if some other part of the code relies on Python 2.7, this change would not really make sense.