[pypy-commit] pypy py3.5: Don't freeze operator.py, use _operator instead.

amauryfa pypy.commits at gmail.com
Mon Apr 17 15:17:06 EDT 2017


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3.5
Changeset: r91073:4a1ca556668a
Date: 2017-04-17 21:15 +0200
http://bitbucket.org/pypy/pypy/changeset/4a1ca556668a/

Log:	Don't freeze operator.py, use _operator instead.

diff --git a/pypy/objspace/std/sliceobject.py b/pypy/objspace/std/sliceobject.py
--- a/pypy/objspace/std/sliceobject.py
+++ b/pypy/objspace/std/sliceobject.py
@@ -253,7 +253,7 @@
 
 
 app = gateway.applevel("""
-    from operator import index
+    from _operator import index
 
     def evaluate_slice_index(x):
         try:


More information about the pypy-commit mailing list