Matti Picus avatar Matti Picus committed 7948962

backout half of previous uncareful commit

Comments (0)

Files changed (2)

lib-python/2.7/heapq.py

 __all__ = ['heappush', 'heappop', 'heapify', 'heapreplace', 'merge',
            'nlargest', 'nsmallest', 'heappushpop']
 
-try:
-    from itertools import islice, repeat, count, imap, izip, tee, chain
-except:
-    import sys
-    print sys.path
+from itertools import islice, repeat, count, imap, izip, tee, chain
 from operator import itemgetter
 import bisect
 

lib-python/2.7/test/test_signal.py

             signal.signal(-1, handler)
 
         with self.assertRaises(ValueError):
-            pass
-            #signal.signal(7, handler)
+            signal.signal(7, handler)
         
         print 'ok'
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.