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

Python not finding functions in a namespace

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 6.08/00
    • 6.08/00, 6.10/00
    • PyROOT
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: