selective_search_py icon indicating copy to clipboard operation
selective_search_py copied to clipboard

Any plans on supporting python2?

Open seanbell opened this issue 9 years ago • 4 comments

I haven't looked into the code closely enough to see how easy it would be to port to python2, but I'm curious why you require python3?

seanbell avatar Sep 04 '15 03:09 seanbell

+1 on this. I'm using this in a Python project and the Python 3 dependency creates alot of awkwardness.

BradNeuberg avatar Sep 09 '15 07:09 BradNeuberg

I'd like to take a stab at converting the codebase to Python 2.7. What specific Python3 features do you use so I can see if this is feasible?

BradNeuberg avatar Sep 10 '15 08:09 BradNeuberg

Looking through the code base I actually don't see any Python 3 features actually being used. Does one of the libraries selective search depends on have Python 3 dependencies?

BradNeuberg avatar Sep 14 '15 01:09 BradNeuberg

FYI I've forked selective_search.py and back ported it to Python 2.7; I've also gotten it running on Mac OS X. The fork:

https://github.com/BradNeuberg/selective_search_py

I can submit this upstream if @belltailjp is interested.

BradNeuberg avatar Oct 21 '15 04:10 BradNeuberg