[pypy-commit] pypy default: import earlier

mattip pypy.commits at gmail.com
Sun Sep 24 16:31:06 EDT 2017


Author: Matti Picus <matti.picus at gmail.com>
Branch: 
Changeset: r92460:4fe50ed6e2ac
Date: 2017-09-24 23:19 +0300
http://bitbucket.org/pypy/pypy/changeset/4fe50ed6e2ac/

Log:	import earlier

diff --git a/lib_pypy/pyrepl/historical_reader.py b/lib_pypy/pyrepl/historical_reader.py
--- a/lib_pypy/pyrepl/historical_reader.py
+++ b/lib_pypy/pyrepl/historical_reader.py
@@ -17,7 +17,7 @@
 # CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
 # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-from pyrepl import reader, commands
+from pyrepl import reader, commands, input
 from pyrepl.reader import Reader as R
 
 isearch_keymap = tuple(
@@ -214,7 +214,6 @@
                   isearch_forwards, isearch_backwards, operate_and_get_next]:
             self.commands[c.__name__] = c
             self.commands[c.__name__.replace('_', '-')] = c
-        from pyrepl import input
         self.isearch_trans = input.KeymapTranslator(
             isearch_keymap, invalid_cls=isearch_end,
             character_cls=isearch_add_character)


More information about the pypy-commit mailing list