Skip to content

regression from 0.3.4 to 0.3.5.x - class decorators #483

@bitranox

Description

@bitranox

dear @anivegesana ,

I am the author of the wrapt_timeout_decorator

since version 0.3.5 of dill, two of our tests are failing under windows.

In those tests we use our decorator to decorate some Class Methods, which are then called in a process via multiprocess (which is using implicitely dill).
(see this test )

Those tests are just fine with version 0.3.4 on windows/linux/macos, or 0.3.5.x on linux/macos, but the fail with dill > 0.3.4 on windows.

What seems to happen is, that the decorator recursively seem to call itself, creating a chain of subprocesses.
In order to debug that behaviour You might set the timeout to 3600 seconds in that tests and print some debug information to stderr.

I really struggle to make a minimal version to show that regression, therefore I would please ask You for help,
in order to be able to use dill 0.3.5 upwards for my community.

you can find the failed jobs with dill 0.3.5.1 here
and the same tests passing with dill 0.3.4.0 here

yours sincerely

Robert, Vienna

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions