Details

    • Type: Story
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ndarray
    • Templates:
    • Story Points:
      0.5
    • Team:
      Data Release Production

      Description

      I just tried to build LSST ndarray on Python 3 and it does not work. It's all going wrong as include/ndarray/swig seems to not be compiling.

      In file included from tests/ndarray-python-mod.cc:25:
      In file included from include/ndarray/swig.h:46:
      In file included from include/ndarray/swig/numpy.h:33:
      include/ndarray/swig/PyConverter.h:175:25: error: use of undeclared identifier 'PyString_AsString'
                  char * cs = PyString_AsString(s.get());
                              ^
      

      That API changed in Python 3 and it probably should be PyBytes_AsString.

      http://stackoverflow.com/questions/22487780/what-do-i-use-instead-of-pystring-asstring-when-loading-a-python-module-in-3-3#22491037

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  jbosch Jim Bosch
                  Reporter:
                  tjenness Tim Jenness
                  Reviewers:
                  Tim Jenness
                  Watchers:
                  John Swinbank, Pim Schellart, Tim Jenness
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel