"Jaimy Azle" <[EMAIL PROTECTED]> wrote:
>
>Jean-Paul Calderone wrote:
>
>> A system exception? What's that? C doesn't have exceptions.
>
>How could I determine it? I dont know GCC implementation, and others, but C
>on MSVC does have it. My application were not written in C, an exception
>raised
> Yes I did my job, i had mention it before. but an application would not
> consist mine only, it could be incorporate your c extension module(s), and
> others, means problem could be from my side, yours, or others. Though
> forcing to reset the state would not mean fixing the real problem, but
Jean-Paul Calderone wrote:
>
> There's plenty of things other than that one static variable that can get
> messed up in this scenario. The access violation could easily come along
> with random memory corruption. Fixing just the GC to handle this doesn't
> mean your program will be able to keep
On Mon, 16 Jun 2008 18:11:24 +0700, Jaimy Azle <[EMAIL PROTECTED]> wrote:
Jean-Paul Calderone wrote:
A system exception? What's that? C doesn't have exceptions.
How could I determine it? I dont know GCC implementation, and others, but C
on MSVC does have it. My application were not writte
Jean-Paul Calderone wrote:
>
> A system exception? What's that? C doesn't have exceptions.
>
How could I determine it? I dont know GCC implementation, and others, but C
on MSVC does have it. My application were not written in C, an exception
raised was something like "access violation at addr
On Mon, 16 Jun 2008 17:51:00 +0700, Jaimy Azle <[EMAIL PROTECTED]> wrote:
See this piece of code:
/* API to invoke gc.collect() from C */
Py_ssize_t
PyGC_Collect(void)
{
Py_ssize_t n;
if (collecting)
n = 0; /* already collecting, don't do anything */
else {
collecting = 1;
n = collect(NUM_GE
See this piece of code:
/* API to invoke gc.collect() from C */
Py_ssize_t
PyGC_Collect(void)
{
Py_ssize_t n;
if (collecting)
n = 0; /* already collecting, don't do anything */
else {
collecting = 1;
n = collect(NUM_GENERATIONS - 1);
collecting = 0;
}
return n;
}
If a system excepti