Message274062
I am having the same error as described by https://bugs.python.org/issue19153 and http://bugs.python.org/issue4434. My shared library is unable to import the Python module I created. I am attaching my C file which calls the python function Rough.py, whose code is written as under:
import math
def WallRough(*wss):
size=len(wss)
result=[0 for i in range(size)]
for i in range(size):
wss_mag=math.sqrt(wss[i][0]*wss[i][0]+wss[i][1]*wss[i][1]+wss[i][2]*wss[i][2])
result[i]=1
return result |
|
Date |
User |
Action |
Args |
2016-08-31 19:35:50 | suzaku | set | recipients:
+ suzaku |
2016-08-31 19:35:50 | suzaku | set | messageid: <1472672150.5.0.175635801824.issue27920@psf.upfronthosting.co.za> |
2016-08-31 19:35:50 | suzaku | link | issue27920 messages |
2016-08-31 19:35:50 | suzaku | create | |
|