function causing core dump

Terry Reedy tjreedy at udel.edu
Mon May 10 12:20:12 EDT 2004


"Xaver Hinterhuber" <xaver_hinterhuber at web.de> wrote in message
news:c7o6al$i1j$1 at online.de...
>     codeObject = new.code(
>       0, # argcount
>       0, # nlocals
>       0, # stacksize
>       0, # flags
>       codeString, # code
>       (), # consts
>       (), # names
>       (), # varnames
>       'content', # filename
>       'content', # name
>       3, # first line number
>       codeString # lnotab
>       )
>     f = new.function(codeObject, dict, 'f')
>     f()
>
> Everything runs fine, until the function is called with f().
> When python tries to execute f(), the core dump happens.
> I don't have any clue why python core dumps.
> The codeString is nothing complex, its a one-liner.







More information about the Python-list mailing list