From e870179290db5ccf1ced8340c136a0ce79735d8b 2018-09-25 17:32:03 From: Matthias Bussonnier Date: 2018-09-25 17:32:03 Subject: [PATCH] re-add the rprint and rprinte alias. They are used in IPykernel 4.9 and I can see users upgrading IPython w/o upgrading Ipykernel. --- diff --git a/IPython/utils/io.py b/IPython/utils/io.py index 3b518f2..b59a1a1 100644 --- a/IPython/utils/io.py +++ b/IPython/utils/io.py @@ -235,6 +235,11 @@ def raw_print_err(*args, **kw): file=sys.__stderr__) sys.__stderr__.flush() +# used by IPykernel <- 4.9. Removed during IPython 7-dev period and re-added +# Keep for a version or two then should remove +rprint = raw_print +rprinte = raw_print_err + @undoc def unicode_std_stream(stream='stdout'): """DEPRECATED, moved to nbconvert.utils.io"""