Workspace import do not work in python with ROOT 6

Dear experts,

this is what I get in ROOT 5.32

import ROOT
x = ROOT.RooRealVar("x", "x", -10, 10)
ws = ROOT.RooWorkspace("ws")
import_ws = getattr(ws, "import")
import_ws(x)
ws.Print()
RooWorkspace(ws) ws contents

variables
---------
(x)

and this is the result with ROOT 6.02/10

RooWorkspace(ws) ws contents

generic objects
---------------
RooRealVar::

Hi,

It works in 6.03, see sft.its.cern.ch/jira/browse/ROOT-7335

Cheers,
Bruno

ok thanks, I have to try.

By the way using Lorenzo suggestion

w = RooWorkspace("w", False)

in ROOT 6.02/10 doesn’t change the result.