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

max_size bs. max_bytes #123

Closed
smurfix opened this issue Jul 9, 2020 · 2 comments
Closed

max_size bs. max_bytes #123

smurfix opened this issue Jul 9, 2020 · 2 comments
Milestone

Comments

@smurfix
Copy link
Collaborator

smurfix commented Jul 9, 2020

$ git grep def.receive_until
src/anyio/_networking.py:    async def receive_until(self, delimiter: bytes, max_size: int) -> bytes:
src/anyio/abc.py:    async def receive_until(self, delimiter: bytes, max_bytes: int) -> bytes:

pylint complains about that. Which to use?

@agronholm
Copy link
Owner

I noticed this myself just today. I will fix it shortly. Is this a blocker issue for you?

@smurfix
Copy link
Collaborator Author

smurfix commented Jul 9, 2020

No, not particularly. I'll just patch it in my local copy / Debian package.

@agronholm agronholm added this to the 2.0.0 milestone Jul 14, 2020
agronholm added a commit that referenced this issue Jul 14, 2020
@q1blue q1blue mentioned this issue Sep 5, 2024
3 tasks
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

No branches or pull requests

2 participants