[New-bugs-announce] [issue15030] PyPycLoader can't read cached .pyc files
report at bugs.python.org
Thu Jun 7 20:29:05 CEST 2012
New submission from Ronan Lamy <ronan.lamy at gmail.com>:
PyPycLoader can't read or write .pyc files created by the core import machinery. I'm attaching a failing test case demonstrating the issue: if you import a .py file using standard mechanisms, thus creating a .pyc, and then (in a separate process, say) attempt to make use of that cached file with PyPycLoader, the import fails with 'ValueError: bad marshal data (unknown type code)'.
It looks like that there has been a change in the binary format of .pyc files but PyPycLoader wasn't updated.
components: Library (Lib)
nosy: Ronan.Lamy, brett.cannon
title: PyPycLoader can't read cached .pyc files
versions: Python 3.3
Added file: http://bugs.python.org/file25859/test_PyPyc.diff
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce