Python 2.7 segfaults on 'import site'

Ian Kelly ian.g.kelly at gmail.com
Tue Dec 30 01:38:52 EST 2014


On Mon, Dec 29, 2014 at 11:34 PM, Ian Kelly <ian.g.kelly at gmail.com> wrote:
> On Mon, Dec 29, 2014 at 7:05 PM, Chris Angelico <rosuav at gmail.com> wrote:
>> Are .pyc files compatible across revisions? Could I carry this file to
>> a 2.7.9 and see if the crash still happens?
>
> PEP 6 requires that .pyc files for a particular major release must
> work with all the bug fix releases for that version.

Although since it sounds like the issue is corrupt byte code I'd be
surprised if the result isn't still a crash in 2.7.9.



More information about the Python-list mailing list