Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r53895:dbe87802495f
Date: 2012-03-22 14:05 +0100
http://bitbucket.org/pypy/pypy/changeset/dbe87802495f/

Log:    kill this line, which was introduced by 794e8ba95264: we never want
        pathname to point to a pyc file, else update_code_filenames puts
        *.pyc inside co_filename. All the tests introduced by 794e8ba95264
        seems to pass, so I don't know what was its original purpose

diff --git a/pypy/module/imp/importing.py b/pypy/module/imp/importing.py
--- a/pypy/module/imp/importing.py
+++ b/pypy/module/imp/importing.py
@@ -968,7 +968,6 @@
             code_w = read_compiled_module(space, cpathname, stream.readall())
         finally:
             stream.close()
-        pathname = cpathname
     else:
         code_w = parse_source_module(space, pathname, source)
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to