Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid the multiprocessing forkserver method (#656)
Python 3.14 changed the default multiprocessing method for POSIX (sans macOS) from fork to forkserver. This causes errors like: TypeError: cannot pickle 'select.epoll' object when serializing dict item '_poller' when serializing pyftpdlib.ioloop.Epoll state when serializing pyftpdlib.ioloop.Epoll object when serializing dict item 'ioloop' when serializing pyftpdlib.servers.MultiprocessFTPServer state when serializing pyftpdlib.servers.MultiprocessFTPServer object when serializing tuple item 0 when serializing method reconstructor arguments when serializing method object when serializing dict item '_target' when serializing multiprocessing.context.Process state when serializing multiprocessing.context.Process object See python/cpython#125714
- Loading branch information