jep 4.3.0__tar.gz → 4.3.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (315) hide show
  1. {jep-4.3.0 → jep-4.3.2}/LICENSE +1 -1
  2. {jep-4.3.0/src/main/python/jep.egg-info → jep-4.3.2}/PKG-INFO +2 -2
  3. {jep-4.3.0 → jep-4.3.2}/pom.xml +2 -2
  4. {jep-4.3.0 → jep-4.3.2}/pyproject.toml +2 -2
  5. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/convert_p2j.c +14 -3
  6. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/jep_numpy.c +1 -1
  7. {jep-4.3.0 → jep-4.3.2}/src/main/c/Objects/pyjmap.c +0 -1
  8. {jep-4.3.0 → jep-4.3.2}/src/main/python/jep/java_import_hook.py +1 -0
  9. {jep-4.3.0 → jep-4.3.2}/src/main/python/jep/version.py +1 -1
  10. {jep-4.3.0 → jep-4.3.2/src/main/python/jep.egg-info}/PKG-INFO +2 -2
  11. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/numpy/TestNumpy.java +92 -10
  12. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_import.py +6 -0
  13. {jep-4.3.0 → jep-4.3.2}/AUTHORS +0 -0
  14. {jep-4.3.0 → jep-4.3.2}/MANIFEST.in +0 -0
  15. {jep-4.3.0 → jep-4.3.2}/README.rst +0 -0
  16. {jep-4.3.0 → jep-4.3.2}/commands/__init__.py +0 -0
  17. {jep-4.3.0 → jep-4.3.2}/commands/_msvccompiler.py +0 -0
  18. {jep-4.3.0 → jep-4.3.2}/commands/build_ext.py +0 -0
  19. {jep-4.3.0 → jep-4.3.2}/commands/clean.py +0 -0
  20. {jep-4.3.0 → jep-4.3.2}/commands/dist.py +0 -0
  21. {jep-4.3.0 → jep-4.3.2}/commands/install_lib.py +0 -0
  22. {jep-4.3.0 → jep-4.3.2}/commands/java.py +0 -0
  23. {jep-4.3.0 → jep-4.3.2}/commands/javadoc.py +0 -0
  24. {jep-4.3.0 → jep-4.3.2}/commands/link_util.py +0 -0
  25. {jep-4.3.0 → jep-4.3.2}/commands/msvc9compiler.py +0 -0
  26. {jep-4.3.0 → jep-4.3.2}/commands/python.py +0 -0
  27. {jep-4.3.0 → jep-4.3.2}/commands/scripts.py +0 -0
  28. {jep-4.3.0 → jep-4.3.2}/commands/test.py +0 -0
  29. {jep-4.3.0 → jep-4.3.2}/commands/util.py +0 -0
  30. {jep-4.3.0 → jep-4.3.2}/release_notes/1.0-notes.rst +0 -0
  31. {jep-4.3.0 → jep-4.3.2}/release_notes/1.1-notes.rst +0 -0
  32. {jep-4.3.0 → jep-4.3.2}/release_notes/2.0-notes.rst +0 -0
  33. {jep-4.3.0 → jep-4.3.2}/release_notes/2.1-notes.rst +0 -0
  34. {jep-4.3.0 → jep-4.3.2}/release_notes/2.2-notes.rst +0 -0
  35. {jep-4.3.0 → jep-4.3.2}/release_notes/2.3-notes.rst +0 -0
  36. {jep-4.3.0 → jep-4.3.2}/release_notes/2.4-notes.rst +0 -0
  37. {jep-4.3.0 → jep-4.3.2}/release_notes/3.0-notes.rst +0 -0
  38. {jep-4.3.0 → jep-4.3.2}/release_notes/3.1-notes.rst +0 -0
  39. {jep-4.3.0 → jep-4.3.2}/release_notes/3.2-notes.rst +0 -0
  40. {jep-4.3.0 → jep-4.3.2}/release_notes/3.3-notes.rst +0 -0
  41. {jep-4.3.0 → jep-4.3.2}/release_notes/3.4-notes.rst +0 -0
  42. {jep-4.3.0 → jep-4.3.2}/release_notes/3.5-notes.rst +0 -0
  43. {jep-4.3.0 → jep-4.3.2}/release_notes/3.6-notes.rst +0 -0
  44. {jep-4.3.0 → jep-4.3.2}/release_notes/3.7-notes.rst +0 -0
  45. {jep-4.3.0 → jep-4.3.2}/release_notes/3.8-notes.rst +0 -0
  46. {jep-4.3.0 → jep-4.3.2}/release_notes/3.9-notes.rst +0 -0
  47. {jep-4.3.0 → jep-4.3.2}/release_notes/4.0-notes.rst +0 -0
  48. {jep-4.3.0 → jep-4.3.2}/release_notes/4.1-notes.rst +0 -0
  49. {jep-4.3.0 → jep-4.3.2}/release_notes/4.2-notes.rst +0 -0
  50. {jep-4.3.0 → jep-4.3.2}/release_notes/4.3-notes.rst +0 -0
  51. {jep-4.3.0 → jep-4.3.2}/setup.cfg +0 -0
  52. {jep-4.3.0 → jep-4.3.2}/setup.py +0 -0
  53. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/Jep.h +0 -0
  54. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/convert_j2p.h +0 -0
  55. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/convert_p2j.h +0 -0
  56. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/AnnotatedElement.h +0 -0
  57. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/ArrayList.h +0 -0
  58. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/AutoCloseable.h +0 -0
  59. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/BigInteger.h +0 -0
  60. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Boolean.h +0 -0
  61. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Buffer.h +0 -0
  62. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Byte.h +0 -0
  63. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/ByteBuffer.h +0 -0
  64. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/ByteOrder.h +0 -0
  65. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/CharBuffer.h +0 -0
  66. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Character.h +0 -0
  67. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Class.h +0 -0
  68. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/ClassLoader.h +0 -0
  69. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Collection.h +0 -0
  70. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Collections.h +0 -0
  71. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Comparable.h +0 -0
  72. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Double.h +0 -0
  73. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/DoubleBuffer.h +0 -0
  74. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Entry.h +0 -0
  75. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Executable.h +0 -0
  76. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Field.h +0 -0
  77. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Float.h +0 -0
  78. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/FloatBuffer.h +0 -0
  79. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/HashMap.h +0 -0
  80. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/IntBuffer.h +0 -0
  81. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Integer.h +0 -0
  82. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Iterable.h +0 -0
  83. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Iterator.h +0 -0
  84. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/JPyCallable.h +0 -0
  85. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/JPyMethod.h +0 -0
  86. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/JPyObject.h +0 -0
  87. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/JepException.h +0 -0
  88. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/List.h +0 -0
  89. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Long.h +0 -0
  90. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/LongBuffer.h +0 -0
  91. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Map.h +0 -0
  92. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Member.h +0 -0
  93. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Method.h +0 -0
  94. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Modifier.h +0 -0
  95. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Number.h +0 -0
  96. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Object.h +0 -0
  97. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Proxy.h +0 -0
  98. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Short.h +0 -0
  99. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/ShortBuffer.h +0 -0
  100. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/String.h +0 -0
  101. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/java_access/Throwable.h +0 -0
  102. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/jep_exceptions.h +0 -0
  103. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/jep_numpy.h +0 -0
  104. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/jep_platform.h +0 -0
  105. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/jep_util.h +0 -0
  106. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/pyembed.h +0 -0
  107. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/pyjarray.h +0 -0
  108. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/pyjautocloseable.h +0 -0
  109. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/pyjbuffer.h +0 -0
  110. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/pyjclass.h +0 -0
  111. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/pyjcollection.h +0 -0
  112. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/pyjconstructor.h +0 -0
  113. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/pyjfield.h +0 -0
  114. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/pyjiterable.h +0 -0
  115. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/pyjiterator.h +0 -0
  116. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/pyjlist.h +0 -0
  117. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/pyjmap.h +0 -0
  118. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/pyjmethod.h +0 -0
  119. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/pyjmonitor.h +0 -0
  120. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/pyjmultimethod.h +0 -0
  121. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/pyjnumber.h +0 -0
  122. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/pyjobject.h +0 -0
  123. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/pyjtype.h +0 -0
  124. {jep-4.3.0 → jep-4.3.2}/src/main/c/Include/winconfig.h +0 -0
  125. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/convert_j2p.c +0 -0
  126. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/AnnotatedElement.c +0 -0
  127. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/ArrayList.c +0 -0
  128. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/AutoCloseable.c +0 -0
  129. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/BigInteger.c +0 -0
  130. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Boolean.c +0 -0
  131. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Buffer.c +0 -0
  132. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Byte.c +0 -0
  133. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/ByteBuffer.c +0 -0
  134. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/ByteOrder.c +0 -0
  135. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/CharBuffer.c +0 -0
  136. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Character.c +0 -0
  137. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Class.c +0 -0
  138. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/ClassLoader.c +0 -0
  139. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Collection.c +0 -0
  140. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Collections.c +0 -0
  141. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Comparable.c +0 -0
  142. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Double.c +0 -0
  143. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/DoubleBuffer.c +0 -0
  144. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Entry.c +0 -0
  145. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Executable.c +0 -0
  146. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Field.c +0 -0
  147. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Float.c +0 -0
  148. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/FloatBuffer.c +0 -0
  149. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/HashMap.c +0 -0
  150. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/IntBuffer.c +0 -0
  151. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Integer.c +0 -0
  152. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Iterable.c +0 -0
  153. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Iterator.c +0 -0
  154. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/JPyCallable.c +0 -0
  155. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/JPyMethod.c +0 -0
  156. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/JPyObject.c +0 -0
  157. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/JepException.c +0 -0
  158. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/List.c +0 -0
  159. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Long.c +0 -0
  160. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/LongBuffer.c +0 -0
  161. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Map.c +0 -0
  162. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Member.c +0 -0
  163. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Method.c +0 -0
  164. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Modifier.c +0 -0
  165. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Number.c +0 -0
  166. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Object.c +0 -0
  167. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Proxy.c +0 -0
  168. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Short.c +0 -0
  169. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/ShortBuffer.c +0 -0
  170. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/String.c +0 -0
  171. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/java_access/Throwable.c +0 -0
  172. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/jep.c +0 -0
  173. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/jep_exceptions.c +0 -0
  174. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/jep_util.c +0 -0
  175. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/maininterpreter.c +0 -0
  176. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/pyembed.c +0 -0
  177. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/python/invocationhandler.c +0 -0
  178. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/python/jep_object.c +0 -0
  179. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/python/jpycallable.c +0 -0
  180. {jep-4.3.0 → jep-4.3.2}/src/main/c/Jep/python/pypointer.c +0 -0
  181. {jep-4.3.0 → jep-4.3.2}/src/main/c/Objects/pyjarray.c +0 -0
  182. {jep-4.3.0 → jep-4.3.2}/src/main/c/Objects/pyjautocloseable.c +0 -0
  183. {jep-4.3.0 → jep-4.3.2}/src/main/c/Objects/pyjbuffer.c +0 -0
  184. {jep-4.3.0 → jep-4.3.2}/src/main/c/Objects/pyjclass.c +0 -0
  185. {jep-4.3.0 → jep-4.3.2}/src/main/c/Objects/pyjcollection.c +0 -0
  186. {jep-4.3.0 → jep-4.3.2}/src/main/c/Objects/pyjconstructor.c +0 -0
  187. {jep-4.3.0 → jep-4.3.2}/src/main/c/Objects/pyjfield.c +0 -0
  188. {jep-4.3.0 → jep-4.3.2}/src/main/c/Objects/pyjiterable.c +0 -0
  189. {jep-4.3.0 → jep-4.3.2}/src/main/c/Objects/pyjiterator.c +0 -0
  190. {jep-4.3.0 → jep-4.3.2}/src/main/c/Objects/pyjlist.c +0 -0
  191. {jep-4.3.0 → jep-4.3.2}/src/main/c/Objects/pyjmethod.c +0 -0
  192. {jep-4.3.0 → jep-4.3.2}/src/main/c/Objects/pyjmonitor.c +0 -0
  193. {jep-4.3.0 → jep-4.3.2}/src/main/c/Objects/pyjmultimethod.c +0 -0
  194. {jep-4.3.0 → jep-4.3.2}/src/main/c/Objects/pyjnumber.c +0 -0
  195. {jep-4.3.0 → jep-4.3.2}/src/main/c/Objects/pyjobject.c +0 -0
  196. {jep-4.3.0 → jep-4.3.2}/src/main/c/Objects/pyjtype.c +0 -0
  197. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/AbstractNDArray.java +0 -0
  198. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/AllowPythonClassEnquirer.java +0 -0
  199. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/ClassEnquirer.java +0 -0
  200. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/ClassList.java +0 -0
  201. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/DirectNDArray.java +0 -0
  202. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/Interpreter.java +0 -0
  203. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/Jep.java +0 -0
  204. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/JepAccess.java +0 -0
  205. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/JepConfig.java +0 -0
  206. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/JepException.java +0 -0
  207. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/LibraryLocator.java +0 -0
  208. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/MainInterpreter.java +0 -0
  209. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/NDArray.java +0 -0
  210. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/NamingConventionClassEnquirer.java +0 -0
  211. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/Proxy.java +0 -0
  212. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/PyConfig.java +0 -0
  213. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/PyMethod.java +0 -0
  214. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/Run.java +0 -0
  215. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/SharedInterpreter.java +0 -0
  216. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/SubInterpreter.java +0 -0
  217. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/SubInterpreterOptions.java +0 -0
  218. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/python/InvocationHandler.java +0 -0
  219. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/python/MemoryManager.java +0 -0
  220. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/python/PyBuiltins.java +0 -0
  221. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/python/PyCallable.java +0 -0
  222. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/python/PyObject.java +0 -0
  223. {jep-4.3.0 → jep-4.3.2}/src/main/java/jep/python/PyPointer.java +0 -0
  224. {jep-4.3.0 → jep-4.3.2}/src/main/python/jep/__init__.py +0 -0
  225. {jep-4.3.0 → jep-4.3.2}/src/main/python/jep/console.py +0 -0
  226. {jep-4.3.0 → jep-4.3.2}/src/main/python/jep/jdbc.py +0 -0
  227. {jep-4.3.0 → jep-4.3.2}/src/main/python/jep/redirect_streams.py +0 -0
  228. {jep-4.3.0 → jep-4.3.2}/src/main/python/jep/shared_modules_hook.py +0 -0
  229. {jep-4.3.0 → jep-4.3.2}/src/main/python/jep.egg-info/SOURCES.txt +0 -0
  230. {jep-4.3.0 → jep-4.3.2}/src/main/python/jep.egg-info/dependency_links.txt +0 -0
  231. {jep-4.3.0 → jep-4.3.2}/src/main/python/jep.egg-info/not-zip-safe +0 -0
  232. {jep-4.3.0 → jep-4.3.2}/src/main/python/jep.egg-info/requires.txt +0 -0
  233. {jep-4.3.0 → jep-4.3.2}/src/main/python/jep.egg-info/top_level.txt +0 -0
  234. {jep-4.3.0 → jep-4.3.2}/src/main/resources/jep/classlist_10.txt +0 -0
  235. {jep-4.3.0 → jep-4.3.2}/src/main/resources/jep/classlist_11.txt +0 -0
  236. {jep-4.3.0 → jep-4.3.2}/src/main/resources/jep/classlist_8.txt +0 -0
  237. {jep-4.3.0 → jep-4.3.2}/src/main/resources/jep/classlist_9.txt +0 -0
  238. {jep-4.3.0 → jep-4.3.2}/src/main/scripts/jep +0 -0
  239. {jep-4.3.0 → jep-4.3.2}/src/main/scripts/jep.bat +0 -0
  240. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/Test.java +0 -0
  241. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestAllowPythonEnquirer.java +0 -0
  242. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestAttach.java +0 -0
  243. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestCloseWithThreads.java +0 -0
  244. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestCompiledScript.java +0 -0
  245. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestDefaultMethods.java +0 -0
  246. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestExceptionCause.java +0 -0
  247. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestExec.java +0 -0
  248. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestGetByteArray.java +0 -0
  249. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestGetCollectionBoxing.java +0 -0
  250. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestGetJPyObject.java +0 -0
  251. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestGetTempValue.java +0 -0
  252. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestGetWithClass.java +0 -0
  253. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestInvoke.java +0 -0
  254. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestIsolatedSubInterpreter.java +0 -0
  255. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestIteratorable.java +0 -0
  256. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestOverload.java +0 -0
  257. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestPreInitVariables.java +0 -0
  258. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestPyBuiltins.java +0 -0
  259. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestPyJObject.java +0 -0
  260. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestPyJType.java +0 -0
  261. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestRedirectStreams.java +0 -0
  262. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestSharedArgv.java +0 -0
  263. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestSharedInterpreter.java +0 -0
  264. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestSharedModules.java +0 -0
  265. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestSharedModulesThreads.java +0 -0
  266. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/TestSubInterpOptions.java +0 -0
  267. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/closeable/TestAutoCloseable.java +0 -0
  268. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/numpy/TestNumpyArrayToString.java +0 -0
  269. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/numpy/TestNumpyProdShared.java +0 -0
  270. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/synchronization/TestCrossLangSync.java +0 -0
  271. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/types/TestFieldTypes.java +0 -0
  272. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/types/TestMethodTypes.java +0 -0
  273. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/types/TestStaticFieldTypes.java +0 -0
  274. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/types/TestStaticMethodTypes.java +0 -0
  275. {jep-4.3.0 → jep-4.3.2}/src/test/java/jep/test/util/SubInterpreterThread.java +0 -0
  276. {jep-4.3.0 → jep-4.3.2}/src/test/python/__init__.py +0 -0
  277. {jep-4.3.0 → jep-4.3.2}/src/test/python/data/read_file.txt +0 -0
  278. {jep-4.3.0 → jep-4.3.2}/src/test/python/jep_pipe.py +0 -0
  279. {jep-4.3.0 → jep-4.3.2}/src/test/python/lib/fakenetty.jar +0 -0
  280. {jep-4.3.0 → jep-4.3.2}/src/test/python/lib/sqlitejdbc-v056.jar +0 -0
  281. {jep-4.3.0 → jep-4.3.2}/src/test/python/runtests.py +0 -0
  282. {jep-4.3.0 → jep-4.3.2}/src/test/python/subprocess/invoke_args.py +0 -0
  283. {jep-4.3.0 → jep-4.3.2}/src/test/python/subprocess/iter_itr_crash.py +0 -0
  284. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_allow_python_enquirer.py +0 -0
  285. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_array.py +0 -0
  286. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_attach.py +0 -0
  287. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_autocloseable.py +0 -0
  288. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_call.py +0 -0
  289. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_compare.py +0 -0
  290. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_convert.py +0 -0
  291. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_dir.py +0 -0
  292. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_exceptions.py +0 -0
  293. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_exec.py +0 -0
  294. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_getvalue.py +0 -0
  295. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_invoke.py +0 -0
  296. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_iterators.py +0 -0
  297. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_jdbc.py +0 -0
  298. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_jproxy.py +0 -0
  299. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_lists.py +0 -0
  300. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_maps.py +0 -0
  301. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_numbers.py +0 -0
  302. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_numpy.py +0 -0
  303. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_object.py +0 -0
  304. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_overload.py +0 -0
  305. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_preinits.py +0 -0
  306. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_pybuiltins.py +0 -0
  307. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_python_memory.py +0 -0
  308. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_redirect_streams.py +0 -0
  309. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_regressions.py +0 -0
  310. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_run_script.py +0 -0
  311. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_shared_interpreter.py +0 -0
  312. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_shared_modules.py +0 -0
  313. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_sub_interp_options.py +0 -0
  314. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_synchronized.py +0 -0
  315. {jep-4.3.0 → jep-4.3.2}/src/test/python/test_types.py +0 -0
@@ -1,4 +1,4 @@
1
- Copyright (c) 2004 - 2025 JEP AUTHORS.
1
+ Copyright (c) 2004 - 2026 JEP AUTHORS.
2
2
 
3
3
  This file is licenced under the the zlib/libpng License.
4
4
 
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: jep
3
- Version: 4.3.0
3
+ Version: 4.3.2
4
4
  Summary: Jep embeds CPython in Java through JNI.
5
5
  Author-email: Mike Johnson <mike@mrj0.com>
6
- Maintainer-email: Nate Jensen <ndjensen@gmail.com>, Ben Steffensmeier <ben.steffensmeier@gmail.com>
6
+ Maintainer-email: Ben Steffensmeier <ben.steffensmeier@gmail.com>, Nate Jensen <ndjensen@gmail.com>
7
7
  License: Zlib
8
8
  Project-URL: Homepage, https://github.com/ninia/jep
9
9
  Project-URL: Documentation, https://github.com/ninia/jep/wiki
@@ -6,7 +6,7 @@
6
6
 
7
7
  <groupId>org.ninia</groupId>
8
8
  <artifactId>jep</artifactId>
9
- <version>4.3.0</version>
9
+ <version>4.3.2</version>
10
10
  <packaging>jar</packaging>
11
11
 
12
12
  <name>Java Embedded Python</name>
@@ -39,7 +39,7 @@
39
39
  <scm>
40
40
  <connection>scm:git:git://github.com/ninia/jep.git</connection>
41
41
  <developerConnection>scm:git:ssh://github.com:ninia/jep.git</developerConnection>
42
- <url>https://github.com/ninia/jep/tree/v4.3.0</url>
42
+ <url>https://github.com/ninia/jep/tree/v4.3.2</url>
43
43
  </scm>
44
44
 
45
45
  <properties>
@@ -16,8 +16,8 @@ authors = [
16
16
  {name = "Mike Johnson", email = "mike@mrj0.com"}
17
17
  ]
18
18
  maintainers = [
19
- {name = "Nate Jensen", email = "ndjensen@gmail.com"},
20
- {name = "Ben Steffensmeier", email = "ben.steffensmeier@gmail.com"}
19
+ {name = "Ben Steffensmeier", email = "ben.steffensmeier@gmail.com"},
20
+ {name = "Nate Jensen", email = "ndjensen@gmail.com"}
21
21
  ]
22
22
  classifiers = [
23
23
  "License :: OSI Approved :: zlib/libpng License",
@@ -56,14 +56,24 @@ static void raiseTypeError(JNIEnv *env, PyObject *pyobject, jclass expectedType)
56
56
  return;
57
57
  }
58
58
  expTypeName = (*env)->GetStringUTFChars(env, expTypeJavaName, 0);
59
+ if (expTypeName == NULL) {
60
+ /*
61
+ * GetStringUTFChars can fail and leave a pending JNI exception (such as
62
+ * OutOfMemoryError). Clear it so it does not interfere with later JNI
63
+ * calls; the type error is still reported with a fallback name below.
64
+ */
65
+ (*env)->ExceptionClear(env);
66
+ }
59
67
  if (PyJClass_Check(pyobject)) {
60
68
  actTypeName = "java.lang.Class";
61
69
  } else {
62
70
  actTypeName = pyobject->ob_type->tp_name;
63
71
  }
64
- PyErr_Format(PyExc_TypeError, "Expected %s but received a %s.", expTypeName,
65
- actTypeName);
66
- (*env)->ReleaseStringUTFChars(env, expTypeJavaName, expTypeName);
72
+ PyErr_Format(PyExc_TypeError, "Expected %s but received a %s.",
73
+ expTypeName ? expTypeName : "<unknown>", actTypeName);
74
+ if (expTypeName != NULL) {
75
+ (*env)->ReleaseStringUTFChars(env, expTypeJavaName, expTypeName);
76
+ }
67
77
  (*env)->DeleteLocalRef(env, expTypeJavaName);
68
78
  }
69
79
 
@@ -632,6 +642,7 @@ char isFunctionalInterfaceType(JNIEnv *env, jclass type)
632
642
  return 0;
633
643
  }
634
644
  if (!isInterface) {
645
+ (*env)->PopLocalFrame(env, NULL);
635
646
  return 0; // It's not an interface, so it can't be functional
636
647
  }
637
648
  methods = java_lang_Class_getMethods(env, type);
@@ -429,7 +429,7 @@ static jobject convert_pyndarray_jndarray(JNIEnv *env, PyObject *pyobj)
429
429
  usigned = 1;
430
430
  } else if (paType == NPY_INT32) {
431
431
  desiredType = JINT_ARRAY_TYPE;
432
- } else if (paType == NPY_INT32) {
432
+ } else if (paType == NPY_UINT32) {
433
433
  desiredType = JINT_ARRAY_TYPE;
434
434
  usigned = 1;
435
435
  } else if (paType == NPY_INT64) {
@@ -333,7 +333,6 @@ static PyObject* pyjmap_items(PyObject* self, PyObject* args)
333
333
  Py_DECREF(pyval);
334
334
 
335
335
  if (PyList_SetItem(pylist, index, pytuple) != 0) {
336
- Py_DECREF(pytuple);
337
336
  Py_DECREF(pylist);
338
337
  goto FINALLY;
339
338
  }
@@ -47,6 +47,7 @@ class module(ModuleType):
47
47
  if subpkgs and name in subpkgs:
48
48
  fullname = self.__name__ + '.' + name
49
49
  mod = makeModule(fullname, self.__loader__,
50
+ self.__classLoader__,
50
51
  self.__classEnquirer__)
51
52
  return mod
52
53
  elif name == '__all__':
@@ -23,5 +23,5 @@
23
23
  # distribution.
24
24
  #
25
25
 
26
- __VERSION__ = '4.3.0'
26
+ __VERSION__ = '4.3.2'
27
27
  VERSION = __VERSION__
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: jep
3
- Version: 4.3.0
3
+ Version: 4.3.2
4
4
  Summary: Jep embeds CPython in Java through JNI.
5
5
  Author-email: Mike Johnson <mike@mrj0.com>
6
- Maintainer-email: Nate Jensen <ndjensen@gmail.com>, Ben Steffensmeier <ben.steffensmeier@gmail.com>
6
+ Maintainer-email: Ben Steffensmeier <ben.steffensmeier@gmail.com>, Nate Jensen <ndjensen@gmail.com>
7
7
  License: Zlib
8
8
  Project-URL: Homepage, https://github.com/ninia/jep
9
9
  Project-URL: Documentation, https://github.com/ninia/jep/wiki
@@ -52,8 +52,8 @@ public class TestNumpy {
52
52
  asPyObj = interp.getValue("zarray", PyObject.class);
53
53
 
54
54
  // test byte[]
55
- NDArray<byte[]> barray = new NDArray<>(
56
- new byte[] { 0x10, 0x00, 0x54, 032 }, dimensions);
55
+ NDArray<byte[]> barray = new NDArray<>(new byte[] { 10, 0, -54, 32 },
56
+ dimensions);
57
57
  interp.set("barray", barray);
58
58
  String b_dtype = interp.getValue("barray.dtype", String.class);
59
59
  if (!"int8".equals(b_dtype)) {
@@ -70,9 +70,30 @@ public class TestNumpy {
70
70
  }
71
71
  asPyObj = interp.getValue("barray", PyObject.class);
72
72
 
73
- // test short[]
74
- NDArray<short[]> sarray = new NDArray<>(new short[] { 5, 3, 1, 8 },
73
+ // test unsigned byte[]
74
+ NDArray<byte[]> ubarray = new NDArray<>(
75
+ new byte[] { 13, (byte) (Byte.MAX_VALUE + 10), 0, 17 }, true,
75
76
  dimensions);
77
+ interp.set("ubarray", ubarray);
78
+ String ub_dtype = interp.getValue("ubarray.dtype", String.class);
79
+ if (!"uint8".equals(ub_dtype)) {
80
+ throw new AssertionError(
81
+ "unsigned byte ndarray set failed, dtype = " + ub_dtype);
82
+ }
83
+ NDArray<?> retUB = (NDArray<?>) interp.getValue("ubarray");
84
+ if (!ubarray.equals(retUB)) {
85
+ throw new AssertionError(
86
+ "unsigned byte[] before != unsigned byte[] after");
87
+ }
88
+ if (ubarray.hashCode() != retUB.hashCode()) {
89
+ throw new AssertionError(
90
+ "unsigned byte[].hashCode() before != unsigned byte[].hasCode() after");
91
+ }
92
+ asPyObj = interp.getValue("ubarray", PyObject.class);
93
+
94
+ // test short[]
95
+ NDArray<short[]> sarray = new NDArray<>(
96
+ new short[] { 50, 0, -15343, 9002 }, dimensions);
76
97
  interp.set("sarray", sarray);
77
98
  String s_dtype = interp.getValue("sarray.dtype", String.class);
78
99
  if (!"int16".equals(s_dtype)) {
@@ -89,9 +110,30 @@ public class TestNumpy {
89
110
  }
90
111
  asPyObj = interp.getValue("sarray", PyObject.class);
91
112
 
113
+ // test unsigned short[]
114
+ NDArray<short[]> usarray = new NDArray<>(
115
+ new short[] { 40, (short) (Short.MAX_VALUE + 16753), 0, 21954 },
116
+ true, dimensions);
117
+ interp.set("usarray", usarray);
118
+ String us_dtype = interp.getValue("usarray.dtype", String.class);
119
+ if (!"uint16".equals(us_dtype)) {
120
+ throw new AssertionError(
121
+ "unsigned short ndarray set failed, dtype = " + us_dtype);
122
+ }
123
+ NDArray<?> retUS = (NDArray<?>) interp.getValue("usarray");
124
+ if (!usarray.equals(retUS)) {
125
+ throw new AssertionError(
126
+ "unsigned short[] before != unsigned short[] after");
127
+ }
128
+ if (usarray.hashCode() != retUS.hashCode()) {
129
+ throw new AssertionError(
130
+ "unsigned short[].hashCode() before != unsigned short[].hasCode() after");
131
+ }
132
+ asPyObj = interp.getValue("usarray", PyObject.class);
133
+
92
134
  // test int[]
93
- NDArray<int[]> iarray = new NDArray<>(new int[] { 547, 232, -675, 101 },
94
- dimensions);
135
+ NDArray<int[]> iarray = new NDArray<>(
136
+ new int[] { 547, 232001, -675, 0 }, dimensions);
95
137
  interp.set("iarray", iarray);
96
138
  String i_dtype = interp.getValue("iarray.dtype", String.class);
97
139
  if (!"int32".equals(i_dtype)) {
@@ -108,9 +150,30 @@ public class TestNumpy {
108
150
  }
109
151
  asPyObj = interp.getValue("iarray", PyObject.class);
110
152
 
153
+ // test unsigned int[]
154
+ NDArray<int[]> uiarray = new NDArray<>(
155
+ new int[] { 0, Integer.MAX_VALUE + 434809, 903, 105 }, true,
156
+ dimensions);
157
+ interp.set("uiarray", uiarray);
158
+ String ui_dtype = interp.getValue("uiarray.dtype", String.class);
159
+ if (!"uint32".equals(ui_dtype)) {
160
+ throw new AssertionError(
161
+ "unsigned int ndarray set failed, dtype = " + ui_dtype);
162
+ }
163
+ NDArray<?> retUI = (NDArray<?>) interp.getValue("uiarray");
164
+ if (!uiarray.equals(retUI)) {
165
+ throw new AssertionError(
166
+ "unsigned int[] before != unsigned int[] after");
167
+ }
168
+ if (uiarray.hashCode() != retUI.hashCode()) {
169
+ throw new AssertionError(
170
+ "unsigned int[].hashCode() before != unsigned int[].hasCode() after");
171
+ }
172
+ asPyObj = interp.getValue("uiarray", PyObject.class);
173
+
111
174
  // test long[]
112
175
  NDArray<long[]> larray = new NDArray<>(
113
- new long[] { 62724764L, 3424637L, 3426734242L, -3429234L },
176
+ new long[] { 62724764L, 0, 3426734242L, -3429234L },
114
177
  dimensions);
115
178
  interp.set("larray", larray);
116
179
  String l_dtype = interp.getValue("larray.dtype", String.class);
@@ -128,9 +191,29 @@ public class TestNumpy {
128
191
  }
129
192
  asPyObj = interp.getValue("larray", PyObject.class);
130
193
 
194
+ // test unsigned long[]
195
+ NDArray<long[]> ularray = new NDArray<>(new long[] { 5376842154L, 0L,
196
+ 3497532177L, Long.MAX_VALUE + 252778L }, true, dimensions);
197
+ interp.set("ularray", ularray);
198
+ String ul_dtype = interp.getValue("ularray.dtype", String.class);
199
+ if (!"uint64".equals(ul_dtype)) {
200
+ throw new AssertionError(
201
+ "unsigned long ndarray set failed, dtype = " + ul_dtype);
202
+ }
203
+ NDArray<?> retUL = (NDArray<?>) interp.getValue("ularray");
204
+ if (!ularray.equals(retUL)) {
205
+ throw new AssertionError(
206
+ "unsigned long[] before != unsigned long[] after");
207
+ }
208
+ if (ularray.hashCode() != retUL.hashCode()) {
209
+ throw new AssertionError(
210
+ "unsigned long[].hashCode() before != unsigned long[].hasCode() after");
211
+ }
212
+ asPyObj = interp.getValue("ularray", PyObject.class);
213
+
131
214
  // test float[]
132
215
  NDArray<float[]> farray = new NDArray<>(
133
- new float[] { 4.32f, -0.0001f, 349.285f, 3201.0f }, dimensions);
216
+ new float[] { 4.32f, -0.0001f, 349.285f, 0.0f }, dimensions);
134
217
  interp.set("farray", farray);
135
218
  String f_dtype = interp.getValue("farray.dtype", String.class);
136
219
  if (!"float32".equals(f_dtype)) {
@@ -149,8 +232,7 @@ public class TestNumpy {
149
232
 
150
233
  // test double[]
151
234
  NDArray<double[]> darray = new NDArray<>(
152
- new double[] { 0.44321, 0.00015, -9.34278, 235574.53 },
153
- dimensions);
235
+ new double[] { 0.44321, 0.00015, -9.34278, 0.0 }, dimensions);
154
236
  interp.set("darray", darray);
155
237
  String d_dtype = interp.getValue("darray.dtype", String.class);
156
238
  if (!"float64".equals(d_dtype)) {
@@ -40,6 +40,12 @@ class TestImport(unittest.TestCase):
40
40
  from java.lang import System
41
41
  System.out.print('') # should still work
42
42
 
43
+ def test_subpaclage_access(sekf):
44
+ # Check that a subpackage is available through attribute access
45
+ # use a subpacakge that isn't commonly used from Python to avoid caching
46
+ import java
47
+ Charset = java.nio.charset.Charset
48
+
43
49
  def test_conflicting_package(self):
44
50
  from io import DEFAULT_BUFFER_SIZE
45
51
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes