Thanks Szabolcs and Laurence, it's not the crash of python but the
crash of cygwin. We can locate the line number but when we submit the
crash to cygwin's mail list, they told us they don't speak python. So
I'm just trying to re-produce the crash in C.
Regards,
Johnny
--
http://mail.python.org
Il 2005-10-28, Johnny Lee <[EMAIL PROTECTED]> ha scritto:
> Thanks, Szabolcs. In fact, I want to reproduce a crush on cygwin. I
> used a session of python code to produce the crush, and want to
> translate it into C and reproduce it. Is the tools provided by you help
> with these issues? Of coz, I'
python script crashed and you want to debug it?
if no trace back provided with the line number where the exception
raised, then the crash caused by an extension module (most likely
written in C), i don't know howto debug it, but at least you can find
the place where the crash occures by adding lot
Thanks for your tips Niemann:)
Regards,
Johnny
--
http://mail.python.org/mailman/listinfo/python-list
Johnny Lee wrote:
> Hi,
>First, I want to know whether the python interpreter translate the
> code directly into machine code, or translate it into C then into
> machine code?
Neither this nor that. The interpreter first compiles the code into python
'byte code' - something similar to machine
Szabolcs Nagy wrote:
> python creates bytecode (like java classes)
>
>
> you cannot translate python directly to c or machine code, but there
> are some projects you probably want to look into
>
>
> Pypy is a python implemetation in python and it can be used to
> translate a python scrip to c or l
python creates bytecode (like java classes)
you cannot translate python directly to c or machine code, but there
are some projects you probably want to look into
Pypy is a python implemetation in python and it can be used to
translate a python scrip to c or llvm code. (large project, work in
pr
Hi,
First, I want to know whether the python interpreter translate the
code directly into machine code, or translate it into C then into
machine code?
Second, if the codes are translated directly into machine codes, how
can I translate the codes into C COMPLETELY the same? if the codes are
tr