-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes and some cleanup in the python tools #335
Conversation
This piece of code is a library and it is not good for a library to care about catching CTRL-C. This should be done in the application (if needed). In fact this feature prevented integrating this code with PyQT4.
Otherwise it is imported instead of the "serial" package on case-insensitive filesystems.
The call to self.cancel() sets isDone to True.
The busy waiting loop drained quickly the laptop battery. It is more user-friendly to detect and report if a device has been disconnected (also freeing up the resources).
This seems impressive, and it's great that you reviewed the usually neglected python sdk. (the issues you linked are not related, that's a completely different sdk see the discussion in #259 - I think the best would be to rewrite the deluge tools and just drop the tos.py) |
lets merge |
merge On Wed, Apr 1, 2015 at 9:52 AM, gnawali [email protected] wrote:
Eric B. Decker |
Fixes and some cleanup in the python tools
Fixes several problems with the TinyOS Python tools.
The code has been tested under high load on MacOS X (Maverics) and Debian GNU/Linux 7.8 .