Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] coercing to Unicode: need string or buffer, int found

For the python paho client - line: 719

There is a test to see which version of socket.create_connection to use.

sys.version_info[0] == 2 and sys.version_info[1] < 7

Am wondering if this needs to be <= 7 as we were catching the exception "coercing to Unicode: need string or buffer, int found" when the longer format of  socket.create_connection is used and our sys.version_info[1] is indeed 7.




Back to the top