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

bpo-39199: Uses the io.DEFAULT_BUFFER_SIZE variable instead of defining it again #17736

Open
wants to merge 2 commits into
base: master
from

Conversation

@GreatBahram
Copy link

GreatBahram commented Dec 29, 2019

Hello there,

This Pull Request replaces the BUFSIZE variable with the existing one inside the io module.

Explanation:

I just removed the BUFSIZE global variable and replaced it with the io.DEFAULT_BUFFER_SIZE variable.

I couldn't find an open issue for this, but I do believe it does not need one, as it is a trivial issue!

I checked other branches, this problem affects below branches as well.

@the-knights-who-say-ni

This comment has been minimized.

Copy link

the-knights-who-say-ni commented Dec 29, 2019

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA).

Recognized GitHub username

We couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames:

@GreatBahram

This might be simply due to a missing "GitHub Name" entry in one's b.p.o account settings. This is necessary for legal reasons before we can look at this contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

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

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

@csabella

This comment has been minimized.

Copy link
Contributor

csabella commented Dec 31, 2019

@GreatBahram, thank you for the contribution! Please open a ticket on bugs.python.org for this issue. Even though it's a small change, having a ticket on the bug tracker gives higher visibility to items and a better chance for it to be reviewed. Also, please signed the CLA as requested by the bot. Thanks!

@GreatBahram

This comment has been minimized.

Copy link
Author

GreatBahram commented Jan 2, 2020

Hi,

Thanks for the explanation, I signed as it was explained and also opened an issue for this purpose:

https://bugs.python.org/issue39189

Is there anything else?

@isidentical

This comment has been minimized.

Copy link
Contributor

isidentical commented Jan 2, 2020

@GreatBahram can you alter the title with [bpo-39199](https://bugs.python.org/issue39199): <message>

@GreatBahram GreatBahram changed the title Uses the io.DEFAULT_BUFFER_SIZE variable instead of defining it again bpo-39199: Uses the io.DEFAULT_BUFFER_SIZE variable instead of defining it again Jan 2, 2020
@GreatBahram GreatBahram changed the title bpo-39199: Uses the io.DEFAULT_BUFFER_SIZE variable instead of defining it again [bpo-39199] (https://bugs.python.org/issue39199): Uses the io.DEFAULT_BUFFER_SIZE variable instead of defining it again Jan 2, 2020
@GreatBahram GreatBahram changed the title [bpo-39199] (https://bugs.python.org/issue39199): Uses the io.DEFAULT_BUFFER_SIZE variable instead of defining it again [bpo-39199](https://bugs.python.org/issue39199): Uses the io.DEFAULT_BUFFER_SIZE variable instead of defining it again Jan 2, 2020
@isidentical

This comment has been minimized.

Copy link
Contributor

isidentical commented Jan 2, 2020

@bedevere-bot accidentally edited my original message, ignore that and check the original one from edit history.
image

@GreatBahram GreatBahram changed the title [bpo-39199](https://bugs.python.org/issue39199): Uses the io.DEFAULT_BUFFER_SIZE variable instead of defining it again bpo-39199: Uses the io.DEFAULT_BUFFER_SIZE variable instead of defining it again Jan 3, 2020
@GreatBahram

This comment has been minimized.

Copy link
Author

GreatBahram commented Jan 3, 2020

Anything else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.