Skip to content

Add socketpool.socket.recv_into size check #3563

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 3 commits into from
Oct 19, 2020

Conversation

gamblor21
Copy link
Member

#3421 Add error to socketpool.socket.recv_into when buffer is smaller than explicit size.

Added a check if the given buffer size is greater then the actual buffer given. Raises a ValueError if so.

I did (eventually) build this for an esp32s2 which seems to be the only port currently including it, but I do not have a chip to actually test it on.

@gamblor21
Copy link
Member Author

To add the translation string in do I just manually edit the .pot file in the locale directory and weblate picks up the rest? Or is there a step I'm missing?

@tannewt
Copy link
Member

tannewt commented Oct 16, 2020

To add the translation string in do I just manually edit the .pot file in the locale directory and weblate picks up the rest? Or is there a step I'm missing?

Run make translate in the top level directly and it'll add new strings to the .pot for you.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @gamblor21!

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