Skip to content

bpo-34613: document the correct value of limit argument of asyncio.StreamReader#9121

Merged
miss-islington merged 1 commit into
python:masterfrom
Psycojoker:fix-issue-34613
Sep 11, 2018
Merged

bpo-34613: document the correct value of limit argument of asyncio.StreamReader#9121
miss-islington merged 1 commit into
python:masterfrom
Psycojoker:fix-issue-34613

Conversation

@Psycojoker

@Psycojoker Psycojoker commented Sep 9, 2018

Copy link
Copy Markdown
Contributor

The default value of asyncio.StreamReader limit is _DEFAULT_LIMIT instead of None.

https://bugs.python.org/issue34613

@the-knights-who-say-ni

Copy link
Copy Markdown

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

We also demand... A SHRUBBERY!

You can check yourself to see if the CLA has been received.

Thanks again for your contribution, we look forward to reviewing it!

@CuriousLearner CuriousLearner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just a minor nit-pick. Rest looks good to me.

This PR does not need NEWS entry. A core-dev would be able to add skip-news label on this PR which would take care of the CI tests.

Comment thread Doc/library/asyncio-stream.rst Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You can mention it like this so that it is more clear:

The *limit* argument's default value is set to _DEFAULT_LIMIT which is 2**16 (64 KiB).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done, thx :)

@CuriousLearner

Copy link
Copy Markdown
Member

@Psycojoker You would also have to sign the CLA first from here: https://www.python.org/psf/contrib/contrib-form/

@Psycojoker

Copy link
Copy Markdown
Contributor Author

@Psycojoker You would also have to sign the CLA first from here: https://www.python.org/psf/contrib/contrib-form/

I actually did that just after making the PR and received a confirmation email but for some reason it still show me has not having signed it? My github's username match, I'm not sure if I did any mistake?

@CuriousLearner CuriousLearner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM 🌮

@CuriousLearner

Copy link
Copy Markdown
Member

@Psycojoker Check on bugs.python.org if your Contributor agreement has been received. If not, then allow at least 1 business day to get it through.

@Psycojoker

Psycojoker commented Sep 11, 2018

Copy link
Copy Markdown
Contributor Author

@CuriousLearner bugs.python.org seems happy and https://check-python-cla.herokuapp.com/ to but the bot seems to be having trouble with setting to correct labels

2018-09-11-044545_848x105_escrotum

2018-09-11-044616_493x297_escrotum

@Mariatta

Copy link
Copy Markdown
Member

This is problem with our cla-checker that appears to be case-senstive. In bpo, the GitHub username is psycojoker instead of Psycojoker.

@miss-islington miss-islington merged commit b4ec362 into python:master Sep 11, 2018
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @Psycojoker for the PR, and @miss-islington for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 11, 2018
…reamReader (pythonGH-9121)

The default value of asyncio.StreamReader *limit* is `_DEFAULT_LIMIT` instead of `None`.

<!-- issue-number: [bpo-34613](https://www.bugs.python.org/issue34613) -->
https://bugs.python.org/issue34613
<!-- /issue-number -->
(cherry picked from commit b4ec362)

Co-authored-by: Bram <cortex@worlddomination.be>
@bedevere-bot

Copy link
Copy Markdown

GH-9175 is a backport of this pull request to the 3.7 branch.

@bedevere-bot

Copy link
Copy Markdown

GH-9176 is a backport of this pull request to the 3.6 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 11, 2018
…reamReader (pythonGH-9121)

The default value of asyncio.StreamReader *limit* is `_DEFAULT_LIMIT` instead of `None`.

<!-- issue-number: [bpo-34613](https://www.bugs.python.org/issue34613) -->
https://bugs.python.org/issue34613
<!-- /issue-number -->
(cherry picked from commit b4ec362)

Co-authored-by: Bram <cortex@worlddomination.be>
@Mariatta

Copy link
Copy Markdown
Member

Thanks @Psycojoker and congrats on your first contribution to CPython 🌮

miss-islington added a commit that referenced this pull request Sep 11, 2018
…reamReader (GH-9121)

The default value of asyncio.StreamReader *limit* is `_DEFAULT_LIMIT` instead of `None`.

<!-- issue-number: [bpo-34613](https://www.bugs.python.org/issue34613) -->
https://bugs.python.org/issue34613
<!-- /issue-number -->
(cherry picked from commit b4ec362)

Co-authored-by: Bram <cortex@worlddomination.be>
miss-islington added a commit that referenced this pull request Sep 11, 2018
…reamReader (GH-9121)

The default value of asyncio.StreamReader *limit* is `_DEFAULT_LIMIT` instead of `None`.

<!-- issue-number: [bpo-34613](https://www.bugs.python.org/issue34613) -->
https://bugs.python.org/issue34613
<!-- /issue-number -->
(cherry picked from commit b4ec362)

Co-authored-by: Bram <cortex@worlddomination.be>
@Psycojoker

Psycojoker commented Sep 12, 2018

Copy link
Copy Markdown
Contributor Author

Wiii thx \^-^/ :heart:

@Psycojoker Psycojoker deleted the fix-issue-34613 branch September 12, 2018 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants