tarantool / tarantool-python

Python client library for Tarantool
https://www.tarantool.io
BSD 2-Clause "Simplified" License
100 stars 48 forks source link

Function sys.version_info.minor is available starting from py 2.7 #143

Closed gostkov closed 1 year ago

gostkov commented 5 years ago

Function sys.version_info.minor is available starting from py 2.7. In 2.6.6 not available. For more support, can you replace sys.version_info.major (minor)

sys.version_info[0] #sys.version_info.major
# and
sys.version_info[0] #sys.version_info.minor

Thank you.

Totktonada commented 2 years ago

I doubt that Python 2.6 is interested for community now. We'll not pay our time to support Python 2.6, will not add testing against Python 2.6 and so I don't see a reason to attempt to support it in some particular place: we can break it in another place in some further change.

Anyway, if you're interested to get it fixed, feel free to send a pull request. It is okay to include if it will not break anything.

DifferentialOrange commented 1 year ago

Python 2 support is dropped since 0.8.0