Uploaded image for project: 'PyLucene'
  1. PyLucene
  2. PYLUCENE-41

JArray type issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • windows 7, python 3

    Description

      Hi,

       

      In JCC 3.0 release version and early(2.7) it is possible to make a double array by:

       

      mask = JArray('object')(5)

      for i in range(5)
          mask[i] = JArray('double')([1.0, 2.0])

      It gives in the <=3.0 following type of 'mask'

      JArray<object>[<Object: [D@3967e60c>, <Object: [D@60d8c9b7>, ...

      for svn version it gives a 'TypeError: JArray<double>[1.0, 2.0]' in the assignment to mask[i]

       

      Not sure this is a bug or a change of how to do things.

      Best Regards

      /Petrus

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            petrush Petrus Hyvönen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: