gaogaotiantian commented on PR #53016:
URL: https://github.com/apache/spark/pull/53016#issuecomment-3529493565
This looks like a decorator/context pattern to me. Why can't we do something
like
```python
@optional_faulthandler
def main():
...
```
that would be much better than the existing code.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]