Closed ThePseudo closed 8 months ago
(these are already fixed in master, actually). #24 adds tweaks to make it also work on py2 which won't be required if inspyred drops py2 support.
I've released 1.0.2 with a bunch of fixes, please do test it out and file new issues if you encounter them
Description
Inspyred wants the generator to generate a
collection.Sequence
, which does not exist in Python > 3.9Update: neither is collections.Iterable.
What I Did
On ec.py, commented lines 422, 423 and 424
Edit: on a better note, just import collections.abc and replace
collections.*
withcollections.abc.*