Re: pyc files problem

2009-05-06 Thread Scott David Daniels
Dave Angel wrote: Gabriel Genellina wrote: ... 06 May 2009 00:43:25 -0300, Mohamed Lrhazi escribió: 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 Do you mea

Re: pyc files problem

2009-05-06 Thread Dave Angel
Gabriel Genellina wrote: En Wed, 06 May 2009 00:43:25 -0300, Mohamed Lrhazi escribió: 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 Do you mean that, if yo

Re: pyc files problem

2009-05-05 Thread Gabriel Genellina
En Wed, 06 May 2009 00:43:25 -0300, Mohamed Lrhazi escribió: 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 Do you mean that, if you delete the .pyc files y

Re: pyc files problem

2009-05-05 Thread Steven D'Aprano
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

pyc files problem

2009-05-05 Thread Mohamed Lrhazi
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,