Ticket #731 (new bug)

Opened 3 years ago

saving Variable.attributes to .tab file

Reported by: marko Owned by: janez
Milestone: Future Component: library
Severity: major Keywords:
Cc: Blocking:
Blocked By:


It does not work correctly when "=" is in the string to be saved. For example:

import Orange
data = Orange.data.Table("titanic.tab")
data.domain[0].attributes["vceraj"] = "bil lep=dan"
print data.domain[0].attributes
data = Orange.data.Table("t.tab")
print data.domain[0].attributes


{'vceraj': 'bil lep=dan'}
{'lep': 'dan', 'vceraj': 'bil'}
Note: See TracTickets for help on using tickets.