Skip to content
Snippets Groups Projects
  1. Feb 16, 2021
  2. Oct 13, 2020
  3. Oct 12, 2020
    • Enric Tejedor Saavedra's avatar
      [PyROOT][6467] For Python-C++ derived types, invoke constructor via the dispatcher · cb985866
      Enric Tejedor Saavedra authored
      The previous approach, based on comparing a string containing the
      argument types to the signature of the constructor, did not work
      in presence of default arguments (see 6467). The new approach
      reuses the machinery in place to try the constructors of Dispatcher.
      
      On the other hand, a constructor that accepted a PyObject* is no
      longer added to the Dispatcher class, since it was triggering
      a corruption of the dispatcher pointer when being attempted
      in the reproducer in 6467.
      
      These changes synchronize this part of the code with what is
      present in upstream cppyy.
      cb985866
  4. Oct 08, 2020
  5. Sep 25, 2020
  6. Sep 08, 2020
    • Enric Tejedor Saavedra's avatar
      [PyROOT][ROOT-11027] Revert activation of batch mode made by cppyy · 6774f27e
      Enric Tejedor Saavedra authored
      Right after importing cppyy, set batch mode to false to
      neutralize the setting to true made by cppyy (in case ROOTSYS
      is not defined).
      
      Disabling the batch mode at this point is ok, since the user
      settings done via command line (-b) or programmatically are
      processed later. This means the setting we do here does not
      overwrite a possible user setting.
      6774f27e
    • Omar Zapata's avatar
      fixed code to load JupyROOT in python2 · 96b3b0a4
      Omar Zapata authored
      explanation:
      The bug was detected in LCG98 python2,
      the try code is importing 'builtins' in python2 and the second import __builtin__ as builtins is never called.
      then builtins in python2 is a module
      <module 'builtins' from '/cvmfs/sft.cern.ch/lcg/views/LCG_97/x86_64-centos7-gcc8-opt/lib/python2.7/site-packages/builtins/__init__.pyc'>
      
      for that reason _is_ipython = hasattr(builtins, '__IPYTHON__') is false.
      
      I am importing the right one according to the python major version.
      96b3b0a4
  7. Sep 04, 2020
  8. Aug 14, 2020
  9. Aug 13, 2020
  10. Aug 12, 2020
  11. Jul 22, 2020
  12. Jul 17, 2020
  13. Jul 09, 2020
  14. Jul 03, 2020
  15. Jun 26, 2020
  16. Jun 15, 2020
  17. Jun 11, 2020
  18. Jun 09, 2020
  19. Jun 04, 2020
  20. May 26, 2020
  21. May 25, 2020
  22. May 15, 2020
  23. May 14, 2020
    • Massimiliano Galli's avatar
      [CMake][Exp PyROOT] Split CMake Python variables in ROOT and · 05029da2
      Massimiliano Galli authored
      PyROOT/PyMVA related
      
      These changes address the case in which Python 3 has only Interpreter
      while Python 2 has both Interpreter and Development. In this case, the
      Python used to build ROOT (which requires only Interpreter) will be 3,
      but PyROOT (which requires also Development) will be built only for 2.
      To achieve this, ROOT and PyROOT/PyMVA use now two different sets of
      variables.
      
      Documentation for the whole machinery is also added.
      
      It is also worth pointing out that the entire machinery could be much
      simplified by just requiring the following as a prerequisite for ROOT:
              - CMake >= 3.12.4
              - Python-Development package
      05029da2
Loading