Skip to content
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

Document that binascii.hexlify's sep is a single char. #1897

Closed
wants to merge 1 commit into from

Conversation

gpshead
Copy link

@gpshead gpshead commented May 20, 2019

micropython's actual behavior is to use the first character of sep if supplied (or... bug to be filed... a null b\x00 character if sep is empty).

@gpshead
Copy link
Author

gpshead commented May 20, 2019

related to the bug mentioned in the comment: #1898

@gpshead
Copy link
Author

gpshead commented May 20, 2019

note: See discussion on the other PR, we may remove this feature instead which should include removing the docs for it.

@dhalbert
Copy link
Collaborator

@gpshead Closing this for now. Let's remove the extra argument to be compatible with CPython.

@dhalbert dhalbert closed this May 28, 2019
klardotsh pushed a commit to klardotsh/circuitpython that referenced this pull request Aug 11, 2019
If tcp_write returns ERR_MEM then it's not a fatal error but instead means
the caller should retry the write later on (and this is what lwIP's netconn
API does).

This fixes problems where a TCP send would raise OSError(ENOMEM) in
situations where the TCP/IP stack is under heavy load.  See eg issues adafruit#1897
and adafruit#1971.
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.

None yet

2 participants