[Python-3000] Possible py3k problem.

Lambert, David W (S&T) LambertDW at Corning.com
Tue Nov 18 21:26:32 CET 2008


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump.py
Type: application/octet-stream
Size: 7383 bytes
Desc: dump.py
URL: <http://mail.python.org/pipermail/python-3000/attachments/20081118/55007260/attachment.obj>


More information about the Python-3000 mailing list