This PR is supposed to fix the issue #12 that adds support for Windows and Python 3:
Refactoring OrderedStage and UnorderedStage classes. The classes with wclass (worker class) names have been renamed to _Worker and have been moved to the package level. This makes them pickable in windows world.
Updating all tests. Mostly, adding main functions.
Commenting sys.maxint in two test since it's not available in Python 3 (in Python 3 there's sys.maxsize) variable. In two tests that used this variable the number of tasks is set to 10,000.
I can't fully understand the logic behind these two tests - clog.py and drano.py. The use sys.maxint tasks which is not available in Python 3 (it's proabably sys.maxsize). How are these tests supposed to work? I just changed the number of tasks to be 10,000.
Hi!
This PR is supposed to fix the issue #12 that adds support for Windows and Python 3:
wclass
(worker class) names have been renamed to_Worker
and have been moved to the package level. This makes them pickable in windows world.main
functions.sys.maxint
in two test since it's not available in Python 3 (in Python 3 there'ssys.maxsize
) variable. In two tests that used this variable the number of tasks is set to 10,000.I tested with Ubuntu / Windows 10 and Python 3.8.
Several things that yet need to be fixed:
sys.maxint
tasks which is not available in Python 3 (it's proabablysys.maxsize
). How are these tests supposed to work? I just changed the number of tasks to be 10,000.