hanslub42 / rlwrap

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

Fix SyntaxWarning in rlwrapfilter.py caused by strict escape sequence handling in Python 3.12 #189

Open hokuda opened 6 months ago

hokuda commented 6 months ago

The rlwrapfilter.py with python 3.12 thows SyntaxWarning due to the changes on strict handling of escape sequences [1]. Please review this PR to fix the issue.

Thanks in advance.

[1] https://docs.python.org/3/whatsnew/3.12.html#other-language-changes