pyc files problem

Discussion in 'Python' started by Mohamed Lrhazi, May 6, 2009.

  1. Hello,

    My code sends a pointer to a Python function to a C library, using
    ctypes module. When my program restarts, after a crash or normal
    exit... it cannot start again without sigfaulting

    What is the proper way around this problem? other than adding code to
    delete the cache files?

    Thanks a lot,
    Mohamed.
     
    Mohamed Lrhazi, May 6, 2009
    #1
    1. Advertising

  2. On Tue, 05 May 2009 23:43:25 -0400, Mohamed Lrhazi wrote:

    > Hello,
    >
    > My code sends a pointer to a Python function to a C library, using
    > ctypes module. When my program restarts, after a crash or normal exit...
    > it cannot start again without sigfaulting
    >
    > What is the proper way around this problem? other than adding code to
    > delete the cache files?



    Surely the proper way to solve this is to find the cause of the segfault,
    and fix that bug.



    --
    Steven
     
    Steven D'Aprano, May 6, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rim
    Replies:
    8
    Views:
    987
  2. Ladvánszky Károly

    pyc files

    Ladvánszky Károly, Feb 3, 2004, in forum: Python
    Replies:
    3
    Views:
    409
    Rene Pijlman
    Feb 3, 2004
  3. Tony C
    Replies:
    2
    Views:
    302
    Robert M. Emmons
    Feb 13, 2004
  4. MarkV

    #! shbang for pyc files?

    MarkV, Jun 5, 2004, in forum: Python
    Replies:
    5
    Views:
    484
    Fredrik Lundh
    Jun 5, 2004
  5. Mircescu Andrei
    Replies:
    3
    Views:
    132
    Mircescu Andrei
    Feb 20, 2014
Loading...

Share This Page