Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8639845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:07:28+00:00 2026-06-12T11:07:28+00:00

In using gevent, whenever a child greenlet throws an exception, I would like it

  • 0

In using gevent, whenever a child greenlet throws an exception, I would like it to bubble up to the parent (and ideally have the parent throw the exception). In the documentation for greenlets, it says this is automatically done, but this doesn’t appear to be the case in gevent.

How do I bubble up exceptions in gevent?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T11:07:29+00:00Added an answer on June 12, 2026 at 11:07 am

    If you link() the child greenlet to the parent greenlet, then LinkedExited will be raised in the parent when the child exits. At that point you can check the exception property of the child greenlet. It will contain the exception instance raised in the child (if the child finished with an error). Now that you have the exception, you could handle it right away in the parent or you could raise it in the parent.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using gevent and I am monkey patching everything. It seems like the
I alreay can implement chat daemons using gevent and zeromq, but I'd like to
Using Ubuntu, I would like to create a shell script (bash) for an Ubuntu
I'm using long polling for a chat with gevent. I'm using Event.wait() when waiting
using javascript google-maps api I currently have it setup to remove a maker I
I'm building an application using gevent. My app is getting rather big now as
I was looking for a simple scheduler implementation using gevent. It seems gevent.core.event is
You Have edited script according to v2 i am getting this error on using
I'd like to do something like that (1 queue, and multiple consumers): import gevent
We have an SELinux client that authenticates network users using LDAP connecting to an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.