[pypy-commit] pypy py3k: kill this line, which was introduced by 794e8ba95264: we never want pathname

antocuni noreply at buildbot.pypy.org
Thu Mar 22 14:46:45 CET 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
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)
 


More information about the pypy-commit mailing list