Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-8811

python: cannot pickle ROOT.Long() (not found as ROOT.long)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.10/00, 6.08/08
    • Component/s: PyROOT
    • Labels:
      None
    • Environment:

      Python

      Description

      See https://root-forum.cern.ch/t/bug-python-cannot-pickle-root-long-not-found-as-root-long/24945
      To reproduce:

      import ROOT
      import pickle
      pickle.dump(ROOT.Long(), open('test.pkl', 'wb'), protocol=2)

        Attachments

          Activity

            People

            • Assignee:
              mato Pere Mato Vila
              Reporter:
              mato Pere Mato Vila
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: