Skip to content

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

Merged
merged 2 commits into from
Jun 3, 2014
Merged

Two small changes #655

merged 2 commits into from
Jun 3, 2014

Conversation

Rosuav
Copy link
Contributor

@Rosuav Rosuav commented Jun 3, 2014

Two trivial edits, just stuff I noticed as I was poking around.

Rosuav added 2 commits June 4, 2014 03:15
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.
dpgeorge added a commit that referenced this pull request Jun 3, 2014
@dpgeorge dpgeorge merged commit 9b967dd into micropython:master Jun 3, 2014
@dpgeorge
Copy link
Member

dpgeorge commented Jun 3, 2014

Thanks! A simple change, but reduced ARM Thumb code size by 24 bytes.

@Rosuav
Copy link
Contributor Author

Rosuav commented Jun 3, 2014

It's fun when a 24 byte accomplishment is considered something :)

@dpgeorge
Copy link
Member

dpgeorge commented Jun 3, 2014

Please, go ahead and submit as many PRs as you can for changes that have equivalent functionality, but use less bytes!

@Rosuav
Copy link
Contributor Author

Rosuav commented Jun 3, 2014

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.

@dpgeorge
Copy link
Member

dpgeorge commented Jun 3, 2014

@pfalcon might have opinions on PEP 393 http://legacy.python.org/dev/peps/pep-0393/.

@Rosuav
Copy link
Contributor Author

Rosuav commented Jun 3, 2014

Opened a new issue #657 to discuss PEP 393 / Unicode.

tannewt added a commit to tannewt/circuitpython that referenced this pull request Mar 13, 2018
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.
tannewt added a commit to tannewt/circuitpython that referenced this pull request Mar 14, 2018
Waiting to do so risks accidentally queueing another response.

Hopefully fixes micropython#655 but we'll let @jerryneedell confirm.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants