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-29742: asyncio get_extra_info() throws exception #525

Merged
merged 1 commit into from
Mar 12, 2017
Merged

bpo-29742: asyncio get_extra_info() throws exception #525

merged 1 commit into from
Mar 12, 2017

Conversation

fafhrd91
Copy link
Contributor

@fafhrd91 fafhrd91 commented Mar 6, 2017

@mention-bot
Copy link

@fafhrd91, thanks for your PR! By analyzing the history of the files in this pull request, we identified @Haypo, @1st1, @serhiy-storchaka and @vadmium to be potential reviewers.

Copy link
Member

@1st1 1st1 left a comment

Choose a reason for hiding this comment

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

lgtm

@1st1
Copy link
Member

1st1 commented Mar 6, 2017

Could you please also add a NEWS entry?

@fafhrd91
Copy link
Contributor Author

fafhrd91 commented Mar 6, 2017

@1st1 do I need to create correspondent bpo issue?

@1st1
Copy link
Member

1st1 commented Mar 6, 2017

@1st1 do I need to create correspondent bpo issue?

Yes, please!

@fafhrd91
Copy link
Contributor Author

fafhrd91 commented Mar 6, 2017

added news entry

return self._transport.get_extra_info(name, default)
else:
return None
Copy link
Member

Choose a reason for hiding this comment

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

return default, not None. Please also add a test for this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

right. fixed

@1st1 1st1 changed the title asyncio get_extra_info() throws exception bpo-29742: asyncio get_extra_info() throws exception Mar 6, 2017
@1st1 1st1 merged commit 2b27e2e into python:master Mar 12, 2017
1st1 pushed a commit to 1st1/cpython that referenced this pull request Mar 12, 2017
1st1 pushed a commit to 1st1/cpython that referenced this pull request Mar 12, 2017
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.

5 participants