[Python-bugs-list] [ python-Bugs-441074 ] Python with Numeric module segfaults
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 13 Jul 2001 08:21:54 -0700
Bugs item #441074, was opened at 2001-07-13 08:11
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=441074&group_id=5470
>Category: None
>Group: 3rd Party
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python with Numeric module segfaults
Initial Comment:
Python 2.0 (#6, Jan 31 2001, 09:46:47) [C] on sunos5,
but I guess the problem is with numeric module.
Segmentation fault occurs when trying to run the
following
code.
#!/usr/bin/env python
#
from Numeric import *
from math import *
import random
N=1000
sigma=fromfunction(lambda
x:random.uniform(0.1,3.0),range(N))
# one gets segfault on the above line.
# What I meant is said bellow, but I think it should
complain
# rather than segfault
sigma=fromfunction(lambda
x:random.uniform(0.1,3.0),(N,))
----------------------------------------------------------------------
>Comment By: Guido van Rossum (gvanrossum)
Date: 2001-07-13 08:21
Message:
Logged In: YES
user_id=6380
This problem is with Numeric. Please use the bug manager
for the Numeric project; the core Python developers cannot
help you with this.
Closing this report.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=441074&group_id=5470