belevtsoff / rdaclient.py

An asynchronous RDA client with buffer.
http://belevtsoff.github.com/rdaclient.py/
9 stars 1 forks source link

Python 3.x and fromfd() in Python 2.x in Windows #5

Open idontknoweider opened 6 years ago

idontknoweider commented 6 years ago

I have started trying to use this package and I was wondering if it could be upgraded to Python 3.x.

Also, because this package requires Python 2.x and in Windows, the socket module for Python 2.x apparently does not contain the function fromfd, rdaclient is unable to start streaming data. (snapshot of the error attached). It seems that there is no patch available for 2.x for the fromfd function.

image

belevtsoff commented 6 years ago

Hi! Python 3 would be great indeed, however I have very limited time these days. Regarding the fromfd call, I'm not sure, but maybe on windows one would use something like fromshare. I'll try to find time to fix these, but if you can contribute with pull requests, that would be great.