Author: Brian Kearns <[email protected]>
Branch: use-file-star-for-file
Changeset: r73155:ac18a16f281b
Date: 2014-08-29 01:40 -0400
http://bitbucket.org/pypy/pypy/changeset/ac18a16f281b/
Log: kill unused imports
diff --git a/pypy/module/_file/interp_file.py b/pypy/module/_file/interp_file.py
--- a/pypy/module/_file/interp_file.py
+++ b/pypy/module/_file/interp_file.py
@@ -1,18 +1,16 @@
import py
import os
-import stat
import errno
-from rpython.rlib import streamio, rfile
+from rpython.rlib import rfile
from rpython.rlib.objectmodel import specialize
from rpython.rlib.rarithmetic import r_longlong
-from rpython.rlib.rstring import StringBuilder
from pypy.module._file.interp_stream import W_AbstractStream
from pypy.module.posix.interp_posix import fsencode_w
from pypy.interpreter.error import OperationError, oefmt, wrap_oserror
from pypy.interpreter.typedef import (TypeDef, GetSetProperty,
interp_attrproperty, make_weakref_descr, interp_attrproperty_w)
from pypy.interpreter.gateway import interp2app, unwrap_spec
-from pypy.interpreter.streamutil import wrap_streamerror,
wrap_oserror_as_ioerror
+from pypy.interpreter.streamutil import wrap_oserror_as_ioerror
class W_File(W_AbstractStream):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit