Skip to content

Be robust to infinite recursively parallel #688

@GaelVaroquaux

Description

@GaelVaroquaux

Currently, it is easy to freeze a machine with infinite nesting parallel:

def very_complex_func():
    joblib.Parallel()(joblib.delayed(very_complex_func)() for i in range(30))

We need to be robust to this, and probably test it (I have a fix in a prototyping branch).

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