Hello,
Le Tue, 11 Dec 2012 14:08:27 +0800,
"Isml" <76069...@qq.com> a écrit :
> Hi, everyone,
> I am testing modifying the pyc file when it is imported. As I
> know, there is three situation: 1、runing in the python.exe
> eg: python.exe test.pyc
> in this situation, I find the
in this situation, I can not find the source code how python
implement it. I test a wrong format pyc, and got a error "ImportError: bad
magic number",and I search "bad magic number" in the source code, I
find it is in importlib/_bootstrap.py(line 815),but when I modify this
error info(eg: