Closed superbobry closed 10 years ago
I'd accept a pull-request to toolshed for this but probably won't get to it myself. I guess people are still using python 2.6? darn.
CentOS6 has Python2.6 and it's unlikely to change unfortunately. I'll submit a PR in the next few days.
Is it possible to support >=Python2.6?
Update: bellow is a list of Python2.7 features I've spotted in the code
argparse
, which is only available in Python2.7. This can be fixed by adding a conditional dependency onargparse
insetup.py
.toolshed/files.py
andtoolshed/pool.py
assumesys.version_info
is anamedtuple
. This is easily fixed by using plain indexing, eg.sys.version_info[0]
.