hanslub42 / rlwrap

A readline wrapper
GNU General Public License v2.0
2.59k stars 151 forks source link

[rlwrapfilter] use packaging.version.parse for parsing versions #165

Closed michel-slm closed 2 years ago

michel-slm commented 2 years ago

Given that rlwrap now has version numbers with patch levels, not just maj.min, parse version numbers properly instead of just casting them into floats.

Fixes #161.

Signed-off-by: Michel Alexandre Salim michel@michel-slm.name

hanslub42 commented 2 years ago

Thanks for the patch, but, although it is only one pip install away, I'd rather not make rlwrapfilter.py dependent on a package that is not in the standard library.