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

Python not finding functions in a namespace

    XMLWordPrintable

    Details

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

      LHCb nightly builds

      Description

      A change introduced between Monday and Tuesday broke this simple test:

      $ python -c "import cppyy; cppyy.gbl.gInterpreter.Declare('namespace Gaudi { namespace Utils { namespace Histos { int histoDump() { return 42; }}}}'); print cppyy.gbl.Gaudi.Utils.Histos.histoDump()"
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
      AttributeError: type object 'Histos' has no attribute 'histoDump'

        Attachments

          Activity

            People

            Assignee:
            mato Pere Mato Vila
            Reporter:
            clemenci Marco Clemencic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Actual End: