Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loky's _SafeQueue is not compatible with multiprocessing of Python 3.9 nightly. #251

Closed
ogrisel opened this issue Apr 30, 2020 · 3 comments
Labels
Milestone

Comments

@ogrisel
Copy link
Collaborator

ogrisel commented Apr 30, 2020

As identified in #250.

Traceback (most recent call last):
  File "/home/vsts/work/1/s/loky/backend/popen_loky_posix.py", line 199, in <module>
    process_obj = pickle.load(from_parent)
  File "/home/vsts/work/1/s/loky/backend/queues.py", line 75, in __setstate__
    self._after_fork()
  File "/usr/lib/python3.9/multiprocessing/queues.py", line 69, in _after_fork
    self._reset(after_fork=True)
  File "/usr/lib/python3.9/multiprocessing/queues.py", line 73, in _reset
    self._notempty._at_fork_reinit()
AttributeError: '_SafeQueue' object has no attribute '_notempty'
@ogrisel ogrisel added this to the 2.7.1 milestone May 1, 2020
@ogrisel ogrisel added the bug label May 1, 2020
@ogrisel ogrisel modified the milestones: 2.7.1, 2.8.1 May 14, 2020
@ogrisel
Copy link
Collaborator Author

ogrisel commented May 19, 2020

A fix for this is going to be higher priority now that Python 3.9 beta1 is out.

@mgorny
Copy link
Contributor

mgorny commented Jun 14, 2020

Ping. This is blocking us now.

@ogrisel
Copy link
Collaborator Author

ogrisel commented Sep 24, 2020

Fixed by #250.

@ogrisel ogrisel closed this as completed Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants