-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Two small changes #655
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
Two small changes #655
Conversation
Once a double quote has been found, the subsequent discovery of a single quote won't change behaviour at all, so don't bother looking for one.
Thanks! A simple change, but reduced ARM Thumb code size by 24 bytes. |
It's fun when a 24 byte accomplishment is considered something :) |
Please, go ahead and submit as many PRs as you can for changes that have equivalent functionality, but use less bytes! |
Haha. I was mainly looking to see if PEP 393 support would be hard to add, because that's something I believe very strongly in. These were completely incidental. |
@pfalcon might have opinions on PEP 393 http://legacy.python.org/dev/peps/pep-0393/. |
Opened a new issue #657 to discuss PEP 393 / Unicode. |
Having the `active_read = false` in the background function left a chance that a new_write occurs before active_read is set to false. In that case, we'll read the appropriate data rather than write it and never clear the active write. Hopefully fixes micropython#655.
Waiting to do so risks accidentally queueing another response. Hopefully fixes micropython#655 but we'll let @jerryneedell confirm.
Two trivial edits, just stuff I noticed as I was poking around.