Skip to content

bpo-32636: Fix @asyncio.coroutine debug mode bug exposed by #5250 #5291

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 1 commit into from
Jan 24, 2018

Conversation

njsmith
Copy link
Contributor

@njsmith njsmith commented Jan 24, 2018

@1st1 1st1 added the skip news label Jan 24, 2018
@1st1 1st1 changed the title bpo-32636: Fix @asyncio.coroutine debug mode bug exposed by gh-5250 bpo-32636: Fix @asyncio.coroutine debug mode bug exposed by gh-5250 Jan 24, 2018
@1st1 1st1 changed the title bpo-32636: Fix @asyncio.coroutine debug mode bug exposed by gh-5250 bpo-32636: Fix @asyncio.coroutine debug mode bug exposed by #5250. Jan 24, 2018
@1st1
Copy link
Member

1st1 commented Jan 24, 2018

@Mariatta Sorry for bothering you, but what to do when Bedevere bot is stuck? :)

@Mariatta
Copy link
Member

I'll try closing and reopening again 😛 Sorry for the noise.

@Mariatta Mariatta closed this Jan 24, 2018
@Mariatta Mariatta reopened this Jan 24, 2018
@Mariatta Mariatta changed the title bpo-32636: Fix @asyncio.coroutine debug mode bug exposed by #5250. Fix @asyncio.coroutine debug mode bug exposed by #5250. Jan 24, 2018
@Mariatta Mariatta changed the title Fix @asyncio.coroutine debug mode bug exposed by #5250. bpo-32636: Fix @asyncio.coroutine debug mode bug exposed by #5250. Jan 24, 2018
@Mariatta
Copy link
Member

Hmm not sure. I'll have to read code, once I have the chance a little later.

@1st1 1st1 changed the title bpo-32636: Fix @asyncio.coroutine debug mode bug exposed by #5250. bpo-32636: Fix @asyncio.coroutine debug mode bug Jan 24, 2018
@1st1 1st1 changed the title bpo-32636: Fix @asyncio.coroutine debug mode bug bpo-32636: Fix @asyncio.coroutine debug mode bug exposed by #5250. Jan 24, 2018
@1st1
Copy link
Member

1st1 commented Jan 24, 2018

@Mariatta should we re-submit this patch?

@Mariatta
Copy link
Member

Hold on before re-submitting a patch. I wanna debug bedevere and find out the issue. Thanks. Will keep you updated.

@Mariatta
Copy link
Member

There's 500 error with the webhook for this particular PR. I will take a further look.

Mariatta added a commit to python/bedevere that referenced this pull request Jan 24, 2018
This came up in python/cpython#5291

The PR did not have any description, and the title was
edited to include the bpo number.
It caused a 500 error, because bedevere did not anticipate
this situation.

Updated the code so that it takes into consideration when the
body is empty.
@Mariatta
Copy link
Member

I found the issue. The error arised in this specific situation of title edited and the PR does not contain any description (body is None). Bedevere assumed that there would be a body in the PR.
Fixed in python/bedevere#79

@1st1
Copy link
Member

1st1 commented Jan 24, 2018

Thanks so much, @Mariatta!

Mariatta added a commit to python/bedevere that referenced this pull request Jan 24, 2018
This came up in python/cpython#5291

The PR did not have any description, and the title was
edited to include the bpo number.
It caused a 500 error, because bedevere did not anticipate
this situation.

Updated the code so that it takes into consideration when the
body is empty.
Mariatta added a commit to python/bedevere that referenced this pull request Jan 24, 2018
This came up in python/cpython#5291

The PR did not have any description, and the title was
edited to include the bpo number.
It caused a 500 error, because bedevere did not anticipate
this situation.

Updated the code so that it takes into consideration when the
body is empty.
@Mariatta Mariatta changed the title bpo-32636: Fix @asyncio.coroutine debug mode bug exposed by #5250. bpo-32636: Fix @asyncio.coroutine debug mode bug exposed by #5250 Jan 24, 2018
@Mariatta
Copy link
Member

@1st1 @njsmith All checks passed!

@1st1 1st1 merged commit fb5a7ad into python:master Jan 24, 2018
@1st1
Copy link
Member

1st1 commented Jan 24, 2018

Thanks @Mariatta!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants