Closed b2m closed 5 years ago
I think I've addressed your issue in abfebcd8f282ad1d8e38d2fa0623bb7819c0c75d. If that doesn't work, please reopen the ticket and comment. Thanks for the detailed bug report.
Just confirming that the reported bug is solved on the current master branch.
Environment
Pathos Version: 0.2.2.1 Python Version: 3.6.6
Problem description
I am trying to generate an optimized python executable using PyInstaller. As with the optimizing the docstrings get removed the following line from multiprocessing.py produces an error when starting the executable.
The "offending" code
The error message
For reproduction Here is a script to reproduce the error using a docker image.
Workaround
Use only
-O
for optimization with the consequence of having all the docstrings in your executable.