[pypy-commit] pypy default: remove debug cruft

2018-01-19 Thread mattip
Author: Matti Picus 
Branch: 
Changeset: r93686:a6ac7d827f5b
Date: 2018-01-19 17:01 +0200
http://bitbucket.org/pypy/pypy/changeset/a6ac7d827f5b/

Log:remove debug cruft

diff --git a/pypy/module/cpyext/cdatetime.py b/pypy/module/cpyext/cdatetime.py
--- a/pypy/module/cpyext/cdatetime.py
+++ b/pypy/module/cpyext/cdatetime.py
@@ -79,8 +79,6 @@
 return space.is_true(
 space.appexec([w_obj], """(obj):
 from datetime import %s as datatype
-if not isinstance(obj, datatype):
-print datatype
 return isinstance(obj, datatype)
 """ % (type_name,)))
 except OperationError:
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: remove debug cruft

2016-02-19 Thread mattip
Author: mattip 
Branch: 
Changeset: r82337:39fb9fc4c967
Date: 2016-02-19 16:31 +0200
http://bitbucket.org/pypy/pypy/changeset/39fb9fc4c967/

Log:remove debug cruft

diff --git a/pypy/module/micronumpy/concrete.py 
b/pypy/module/micronumpy/concrete.py
--- a/pypy/module/micronumpy/concrete.py
+++ b/pypy/module/micronumpy/concrete.py
@@ -236,7 +236,6 @@
 
 @jit.unroll_safe
 def _prepare_slice_args(self, space, w_idx):
-print '_prepare_slice_args', w_idx
 from pypy.module.micronumpy import boxes
 if space.isinstance_w(w_idx, space.w_str):
 raise oefmt(space.w_IndexError, "only integers, slices (`:`), "
@@ -293,14 +292,11 @@
 return result
 
 def descr_getitem(self, space, orig_arr, w_index):
-print 'concrete descr_gettiem %s' % str(w_index)[:35]
 try:
 item = self._single_item_index(space, w_index)
-print 'concrete descr_gettiem _single_item_index succeeded'
 return self.getitem(item)
 except IndexError:
 # not a single result
-print 'concrete descr_gettiem _single_item_index failed'
 chunks = self._prepare_slice_args(space, w_index)
 return new_view(space, orig_arr, chunks)
 
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: remove debug cruft

2015-10-31 Thread mattip
Author: mattip 
Branch: 
Changeset: r80491:652865747e1a
Date: 2015-10-31 22:38 +1100
http://bitbucket.org/pypy/pypy/changeset/652865747e1a/

Log:remove debug cruft

diff --git a/pypy/module/micronumpy/concrete.py 
b/pypy/module/micronumpy/concrete.py
--- a/pypy/module/micronumpy/concrete.py
+++ b/pypy/module/micronumpy/concrete.py
@@ -382,11 +382,9 @@
 t_elsize = dtype.elsize
 t_strides = strides[:]
 base = dtype.elsize
-print 'start strides, shape, indx_array', strides, shape, 
indx_array
 for i in indx_array:
 t_strides[i] = base
 base *= shape[i]
-print 'final strides', t_strides
 backstrides = calc_backstrides(t_strides, shape)
 order = support.get_order_as_CF(self.order, order)
 impl = ConcreteArray(shape, dtype, order, t_strides, backstrides)
___
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit


[pypy-commit] pypy default: remove debug cruft

2013-01-12 Thread mattip
Author: mattip matti.pi...@gmail.com
Branch: 
Changeset: r5:de79f80b06ff
Date: 2013-01-12 21:41 +0200
http://bitbucket.org/pypy/pypy/changeset/de79f80b06ff/

Log:remove debug cruft

diff --git a/lib-python/2.7/test/test_signal.py 
b/lib-python/2.7/test/test_signal.py
--- a/lib-python/2.7/test/test_signal.py
+++ b/lib-python/2.7/test/test_signal.py
@@ -225,8 +225,6 @@
 
 with self.assertRaises(ValueError):
 signal.signal(7, handler)
-
-print 'ok'
 
 
 @unittest.skipIf(sys.platform == win32, Not valid on Windows)
___
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit