Skip to content

Warn on ExceptionGroup subclass without derive #334

Open
@A5rocks

Description

@A5rocks

While there's probably some usecase which makes sense for this, at most someone could just implement like so:

class CustomEG(ExceptionGroup):
  def derive(self, exs):
    return ExceptionGroup(self.message, exs)

to get the original behavior (I think). From python-trio/trio#3175

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions