python-messaging icon indicating copy to clipboard operation
python-messaging copied to clipboard

python 3 support

Open toloco opened this issue 13 years ago • 10 comments

Create a new branch with python 3 support

toloco avatar Jun 15 '11 09:06 toloco

Hi toloco, Did you try it with Python 3 and find a problem? I don't use it myself, but I believe Pablo did some Python 3 work already.

andrewbird avatar Jun 15 '11 09:06 andrewbird

Yes Im trying to port the lib to py3, Can I post to this project?

It is just a petition for the future :)

toloco avatar Jun 15 '11 09:06 toloco

Sure, best thing is to fork here on github, apply your fixes and when you are ready submit a pull request. Then I'll get Pablo to look them over and he'll apply your fixes as necessary to the master branch. I know he'll be looking to maintain py2.x compatibility so please keep that in mind.

Thanks

Andrew

andrewbird avatar Jun 15 '11 10:06 andrewbird

Yes of course, just the minimum changes possible :)

I will fork when I had this ready

Cheers,

toloco avatar Jun 15 '11 10:06 toloco

Yeah at some point the library was python3 compatible, but we lost it later on... it would be pretty cool @toloco if you can fix it. As Andrew pointed out the best procedure will be if you fork the project, and work on your private branch and send a merge request when is ready. If memory serves me right the best way to test it was with "python2.6 setup.py test" and then "python3.2 setup.py test". Use 3.2, don't bother with anything bellow it.

pmarti avatar Jun 15 '11 11:06 pmarti

You might find this resource interesting http://lucumr.pocoo.org/2011/1/22/forwards-compatible-python/

pmarti avatar Jun 19 '11 08:06 pmarti

Hi,

what is the status of python 3 support? I am trying to install this but cannot get it to even install on python 3.3

p91 avatar Jan 13 '14 21:01 p91

python 3 support would be easier if python 2.5 (and maybe even 2.6) support is dropped. Any objections?

thijstriemstra avatar Nov 08 '15 16:11 thijstriemstra

I think we'd need to keep support for both python 2.5 and 2.6. Do you agree @pmarti?

andrewbird avatar Nov 08 '15 17:11 andrewbird

six, a useful tool to support python 2 and 3 in one codebase, is only supported in Python 2.6 and newer. 2.5 is ancient and doesn't receive security fixes anymore either.

thijstriemstra avatar Nov 08 '15 17:11 thijstriemstra