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:

Description

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.save("t.tab")
data = Orange.data.Table("t.tab")
print data.domain[0].attributes

Prints:

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