adriank / ObjectPath

The agile query language for semi-structured data
http://objectpath.org
MIT License
380 stars 93 forks source link

Incompatible with Python2.6- or Jython #51

Closed VVasyaev closed 7 years ago

VVasyaev commented 7 years ago

The library failing with the following error:

AttributeError: 'tuple' object has no attribute 'major'

adriank commented 7 years ago

Py 2.6 and Jython are generally unsupported. If you'd like to add support for them, feel free to PR them.

VVasyaev commented 7 years ago

i did! you'd merged the fix few minutes ago :)

adriank commented 7 years ago

This is not the only thing that doesn't work in 2.6... :)

VVasyaev commented 7 years ago

I'm using your library (btw, thank a lot for it!) in the Robot Framework which is running from Jython (due to environment) so i had to fix this attribute error to have ability at least do not have issues at the start moment