GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: fix regression in `bidi` causing `Thread-ConsumeBidirectionalStream caught unexpected exception and will exit` by parthea · Pull Request #562 · googleapis/python-api-core

This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Conversation

@parthea

@parthea parthea commented Nov 30, 2023

Copy link
Copy Markdown
Contributor

This reverts commit e120a0c

Fixes #560

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
parthea added 2 commits November 30, 2023 21:45
@parthea
chore: partial revert of PR #357
536c6d2
This reverts commit e120a0c.
@parthea
add comment
7440545
@parthea
parthea requested review from a team November 30, 2023 21:49
@product-auto-label product-auto-label Bot added the size: xs Pull request size is extra small. label Nov 30, 2023
@parthea parthea mentioned this pull request Nov 30, 2023
Regression in v2.13.0: ConsumeBidirectionalStream caught unexpected exception and will exit #560
Closed
ohmayr
ohmayr approved these changes Dec 1, 2023
View reviewed changes
@parthea
parthea merged commit 40c8ae0 into main Dec 1, 2023
@parthea
parthea deleted the partial-revert-of-357 branch December 1, 2023 15:51
@release-please release-please Bot mentioned this pull request Dec 1, 2023
chore(main): release 2.15.0 #555
Merged
vchudnov-g
vchudnov-g reviewed Dec 1, 2023
View reviewed changes
Comment thread google/api_core/bidi.py
return self.call is not None and self.call.is_active()
# seeing if it's active. We need to return True if self.call is None.
# See https://github.com/googleapis/python-api-core/issues/560.
if self.call is not None and not self.call.is_active():

@vchudnov-g vchudnov-g Dec 1, 2023

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

@parthea

It would be simpler and much clearer to have return self.call is None or self.call.is_active(). This is equivalent to what you have, by DeMorgan's theorem.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

parthea reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@parthea parthea mentioned this pull request Dec 4, 2023
chore(main): Release candidate v2.15.0rc1 #565
Closed
This was referenced May 30, 2025
chore(main): release 2.0.0 #822
Closed
chore(main): release 2.0.0 #823
Closed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

2 more reviewers
@vchudnov-g vchudnov-g vchudnov-g left review comments
@ohmayr ohmayr ohmayr approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size: xs Pull request size is extra small.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Regression in v2.13.0: ConsumeBidirectionalStream caught unexpected exception and will exit

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@parthea @vchudnov-g @ohmayr
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.