开发者

Which Python 2.x DHT implementation is going to be easiest to port to Python 3.x?

开发者 https://www.devze.com 2022-12-10 23:10 出处:网络
Previously I asked which DHT implementations are compatible with Python 3.x - StackOverflow\'s answer confirmed my worst fear: So far nobody has released a Python 3.x compatible Distributed Hash Table

Previously I asked which DHT implementations are compatible with Python 3.x - StackOverflow's answer confirmed my worst fear: So far nobody has released a Python 3.x compatible Distributed Hash Table implementation. That means it's to roll up my sleeves and get to work myself.

My project does not necessarily require the highest performance, it simply needs to be a true DHT.

Since this feature is not core to my project (but could be truly awesome) I do not want to get bogged dow开发者_JAVA百科n tweaking ultimate performance. Nor do I want to spend a lot of time fixing somebody else's bugs.

I just want pick up the DHT implementation that's going to be the easiest to work with and then port it to 3.x. In theory this work should not require a profound knowledge of the way any spesific implementation work.

So given all of the above, which of the many python 2.x DHT implementations are going to be my best bet to start with?


Try running 2to3 on each of them, then run the resulting code. If one of them works, then it was the easiest to port. If none of them do, then take a guess based on which of their errors you understand best.

0

精彩评论

暂无评论...
验证码 换一张
取 消