Python 2.7 segfaults on 'import site'

Steven D'Aprano steve+comp.lang.python at pearwood.info
Mon Dec 29 20:40:47 EST 2014


Chris Angelico wrote:

> Unlike playing with sre_constants.pyc, this one *does* result in a
> different file after renaming away the .pyc. So somehow, SOMEHOW, the
> .pyc file became corrupt. Is this something worth reporting? I now
> have what appears to be a file whose presence in the current directory
> can crash Python.

Time to run some SMART tests on your hard drive, methinks.


-- 
Steven




More information about the Python-list mailing list