[Bug 72505] Re: python2.5 compiled with libffi does not support ctypes 64 bits integer

2006-11-24 Thread Thomas Heller
I can reproduce this behaviour on several Ubuntu boxes with '--with- system-ffi'. Actually the ctypes unittests throw errors with this configuration, and eventually die with a segfault. It would probably be a good idea to insert some runtime checks in ctypes itself, the sizes of the various c_...

[Bug 72505] Re: python2.5 compiled with libffi does not support ctypes 64 bits integer

2007-09-14 Thread Thomas Heller
Matthias, sorry that it took so long for me to understand the problem. Your last comment made it clear that there is indeed a ctypes bug. Here is a simple fix that should correct the problem (tested on x86 ubuntu feisty, with --with-system-ffi). Should the report be opened again? Index: Modules/

[Bug 72505] Re: python2.5 compiled with libffi does not support ctypes 64 bits integer

2006-11-24 Thread Thomas Heller
I can reproduce this behaviour on several Ubuntu boxes with '--with- system-ffi'. Actually the ctypes unittests throw errors with this configuration, and eventually die with a segfault. It would probably be a good idea to insert some runtime checks in ctypes itself, the sizes of the various c_...

[Bug 72505] Re: python2.5 compiled with libffi does not support ctypes 64 bits integer

2007-09-14 Thread Thomas Heller
Matthias, sorry that it took so long for me to understand the problem. Your last comment made it clear that there is indeed a ctypes bug. Here is a simple fix that should correct the problem (tested on x86 ubuntu feisty, with --with-system-ffi). Should the report be opened again? Index: Modules/

[Bug 72505] Re: python2.5 compiled with libffi does not support ctypes 64 bits integer

2007-09-14 Thread Thomas Heller
Matthias, sorry that it took so long for me to understand the problem. Your last comment made it clear that there is indeed a ctypes bug. Here is a simple fix that should correct the problem (tested on x86 ubuntu feisty, with --with-system-ffi). Should the report be opened again? Index: Modules/

[Bug 72505] Re: python2.5 compiled with libffi does not support ctypes 64 bits integer

2006-11-24 Thread Thomas Heller
I can reproduce this behaviour on several Ubuntu boxes with '--with- system-ffi'. Actually the ctypes unittests throw errors with this configuration, and eventually die with a segfault. It would probably be a good idea to insert some runtime checks in ctypes itself, the sizes of the various c_...

[Bug 72505] Re: python2.5 compiled with libffi does not support ctypes 64 bits integer

2007-09-14 Thread Thomas Heller
Matthias, sorry that it took so long for me to understand the problem. Your last comment made it clear that there is indeed a ctypes bug. Here is a simple fix that should correct the problem (tested on x86 ubuntu feisty, with --with-system-ffi). Should the report be opened again? Index: Modules/

[Bug 72505] Re: python2.5 compiled with libffi does not support ctypes 64 bits integer

2006-11-24 Thread Thomas Heller
I can reproduce this behaviour on several Ubuntu boxes with '--with- system-ffi'. Actually the ctypes unittests throw errors with this configuration, and eventually die with a segfault. It would probably be a good idea to insert some runtime checks in ctypes itself, the sizes of the various c_...

[Bug 72505] Re: python2.5 compiled with libffi does not support ctypes 64 bits integer

2007-09-14 Thread Thomas Heller
Matthias, sorry that it took so long for me to understand the problem. Your last comment made it clear that there is indeed a ctypes bug. Here is a simple fix that should correct the problem (tested on x86 ubuntu feisty, with --with-system-ffi). Should the report be opened again? Index: Modules/

[Bug 72505] Re: python2.5 compiled with libffi does not support ctypes 64 bits integer

2006-11-24 Thread Thomas Heller
I can reproduce this behaviour on several Ubuntu boxes with '--with- system-ffi'. Actually the ctypes unittests throw errors with this configuration, and eventually die with a segfault. It would probably be a good idea to insert some runtime checks in ctypes itself, the sizes of the various c_...

[Bug 72505] Re: python2.5 compiled with libffi does not support ctypes 64 bits integer

2006-11-24 Thread Thomas Heller
I can reproduce this behaviour on several Ubuntu boxes with '--with- system-ffi'. Actually the ctypes unittests throw errors with this configuration, and eventually die with a segfault. It would probably be a good idea to insert some runtime checks in ctypes itself, the sizes of the various c_...

[Bug 72505] Re: python2.5 compiled with libffi does not support ctypes 64 bits integer

2007-09-14 Thread Thomas Heller
Matthias, sorry that it took so long for me to understand the problem. Your last comment made it clear that there is indeed a ctypes bug. Here is a simple fix that should correct the problem (tested on x86 ubuntu feisty, with --with-system-ffi). Should the report be opened again? Index: Modules/