[pypy-commit] pypy py3k: This str0 hack is no longer necessary :-)
amauryfa
noreply at buildbot.pypy.org
Thu Nov 22 23:49:57 CET 2012
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3k
Changeset: r59049:ae0630bffb2b
Date: 2012-11-22 22:46 +0100
http://bitbucket.org/pypy/pypy/changeset/ae0630bffb2b/
Log: This str0 hack is no longer necessary :-)
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
@@ -12,7 +12,6 @@
from pypy.interpreter.eval import Code
from pypy.interpreter.pycode import PyCode
from pypy.rlib import streamio, jit
-from pypy.rlib.rstring import assert_str0
from pypy.rlib.streamio import StreamErrors
from pypy.rlib.objectmodel import we_are_translated, specialize
from pypy.module.sys.version import PYPY_VERSION
@@ -934,7 +933,7 @@
if py is None:
py = filename[:-1]
try:
- st = os.stat(assert_str0(py))
+ st = os.stat(py)
except OSError:
pass
else:
More information about the pypy-commit
mailing list