[Python-Dev] Include ctypes into core Python?
Neal Norwitz
nnorwitz at gmail.com
Wed Jan 11 08:22:56 CET 2006
On 1/10/06, Thomas Wouters <thomas at xs4all.net> wrote:
>
> centurion:~ > python < .
> Segmentation fault
I fixed that in Oct in head and 2.4 branch. Although Skip filed a bug
since Py_FatalError() is called which generates a core dump in debug
builds at least. http://python.org/sf/1353504
I'm not sure what else can be done except perhaps just print to stderr
and exit() rather than abort().
> >>> sys.setrecursionlimit(1<<30)
> >>> f = lambda f:f(f)
> >>> f(f)
> Segmentation fault
Added as Lib/test/crashers/recursive_call.py
I'm sure there are many more similar to this one though.
> There's more, all from Python itself.
We should at least try to clearly document limitations such as these.
That's why I added the crashers directory. Maybe we can even find
volunteers to fix these.
n
More information about the Python-Dev
mailing list