FIX: Replace unnecessary eval() calls with literal_eval()#1976
FIX: Replace unnecessary eval() calls with literal_eval()#1976
Conversation
| try: | ||
| value = str(self.control.text()) | ||
| value = eval(value) | ||
| value = literal_eval(value) |
There was a problem hiding this comment.
I'm not 100% sure about this one because I don't have much experience with the editor.
|
I don't understand this failure. It doesn't seem related to the changes. |
|
Failure looks to be unrelated, unless the change is causing tests to not clean up after themselves properly. I'll open an issue. Edit: #1977 |
|
Sat down and had a more thorough look at this and I think that That feels like the right solution to propagate for most of these. However a sane default in some of these cases may be |
Drive-by while looking into
RangeEditorstrangeness.