[pypy-commit] pypy py3.6: pfff, seems I really need a pre-commit hook or something (pdb)

cfbolz pypy.commits at gmail.com
Wed Sep 4 00:59:19 EDT 2019


Author: Carl Friedrich Bolz-Tereick <cfbolz at gmx.de>
Branch: py3.6
Changeset: r97375:a4c8fff52170
Date: 2019-09-04 06:56 +0200
http://bitbucket.org/pypy/pypy/changeset/a4c8fff52170/

Log:	pfff, seems I really need a pre-commit hook or something (pdb)

diff --git a/pypy/module/exceptions/interp_exceptions.py b/pypy/module/exceptions/interp_exceptions.py
--- a/pypy/module/exceptions/interp_exceptions.py
+++ b/pypy/module/exceptions/interp_exceptions.py
@@ -866,8 +866,6 @@
         suggestion = "print(%s%s)" % (
                 text, maybe_end)
 
-        if "%" in suggestion:
-            import pdb; pdb.set_trace()
         # try to see whether the suggestion would compile, otherwise discard it
         compiler = space.createcompiler()
         try:


More information about the pypy-commit mailing list