sdgathman / pyspf

Other
49 stars 26 forks source link

Warning with python3.6 #5

Closed kitterma closed 5 years ago

kitterma commented 6 years ago

spf.py:1827: FutureWarning: split() requires a non-empty pattern match. ln, reverse, delimiters = RE_ARGS.split(str)[1:4]

kitterma commented 5 years ago

Note that this FutureWarning is gone with python3.7. I don't know if that means they decided not to make the change or they did make the change and pyspf is now wrong, but just not causing any tests to fail.

kitterma commented 5 years ago

No longer a concern as of python3.7. From the python documentation:

Changed in version 3.7: Added support of splitting on a pattern that could match an empty string.