Repository navigation
cgi.escape is deprecated in python 3.4 - #330
Conversation
cgi.escape is deprecated in python 3.4 and was printing out a warning message.
|
Thank you a lot @Bethany-1 . Before to merge, are you sure that html.escape is equivalent to cgi.escape? |
|
Hi @dddomodossola , Yes, they have the same functionalities. They both convert characters &, < and > in string to HTML safe sequences. |
|
Merge done @Bethany-1 thank you for the fix. |
|
Hi @dddomodossola , |
|
Hello @Bethany-1 , i suggest to specify quote=False to have the same behaviour of cgi.escape. It was largely tested in remi and we must maintain backward compatibility. |
While setting up the unit test for the Label widget, this bug was found for python 3.4 +:
A possible fix is to conditionally import escape like unescape.