Author: marky1991
Branch: py3.3
Changeset: r81707:114355f9d9f5
Date: 2016-01-04 12:09 -0500
http://bitbucket.org/pypy/pypy/changeset/114355f9d9f5/

Log:    Get rid of debugging junk.

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
@@ -180,7 +180,6 @@
     def acquire_lock(self):
         # this function runs with the GIL acquired so there is no race
         # condition in the creation of the lock
-        print("calling original")
         if self.lock is None:
             try:
                 self.lock = self.space.allocate_lock()
@@ -231,9 +230,7 @@
             self.lockcounter = 0
 
 def getimportlock(space):
-    me = space.fromcache(ImportRLock)
-    print(id(me), "id of lock")
-    return me
+    return space.fromcache(ImportRLock)
 
 # __________________________________________________________________
 #
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to