[Python-3000] Possible py3k problem.

Guido van Rossum guido at python.org
Tue Nov 18 22:11:51 CET 2008


Core dumps generated using ctypes are not covered by the warrantee. ;-)

On Tue, Nov 18, 2008 at 12:26 PM, Lambert, David W (S&T)
<LambertDW at corning.com> wrote:
>
> Attached program works with
>
>        callback = GSL_FUNCTION(self.f)
>        set_with_values(mnzr,callback,xn,fn,xLB,fLB,xUB,fUB)
>
> But core dumps with
>
>        set_with_values(mnzr,GSL_FUNCTION(self.f),xn,fn,xLB,fLB,xUB,fUB)
>
>
> I do not understand the difference.  Must be one of these possibilities:
>
>
> 1) Python3rc1+ is broken, or I don't understand it.
>
> 2) ctypes is broken, or I misunderstand.
>
> 3) My system---linux on 64 bit opteron---has installation sickness.
>
> 4) The actual cause.
>
>
> Source attached.  You'll possibly need to modify the code that loads
> gsl.so's.
>
> If it's a python problem, you should know of it.
> If it's my problem---I've found the work 'round but I'd like to
> understand.
>
> Thanks! Dave.
>
> _______________________________________________
> Python-3000 mailing list
> Python-3000 at python.org
> http://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe: http://mail.python.org/mailman/options/python-3000/guido%40python.org
>
>



-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list