pfalcon / pycopy-lib

Standard library of the Pycopy project, minimalist and light-weight Python language implementation
https://github.com/pfalcon/pycopy
Other
246 stars 70 forks source link

umqtt: Compatibility with CPython #50

Closed amotl closed 4 years ago

amotl commented 4 years ago

Dear Paul,

in the spirit of #49, [1] improves the umqtt module to be compatible with CPython. As I've learned, these kinds of changes are out of the scope of Pycopy to be incorporated into its module ecosystem, I just want to leave this notice as a reference to others looking for the same thing.

We needed these changes to support a CPython-based test harness for our Terkin Datalogger. The outcome where this is used can be inspected at [2].

With kind regards, Andreas.

[1] https://github.com/pfalcon/pycopy-lib/compare/master...daq-tools:improve-umqtt [2] https://github.com/hiveeyes/terkin-datalogger/blob/23b8065a/test/test_wifi_mqtt.py