From e7ccf47114bbae254f40029b9188eacc6d1c5465 2014-12-04 23:38:13 From: Jonathan Frederic Date: 2014-12-04 23:38:13 Subject: [PATCH] Add warning to widget namespace import. --- diff --git a/IPython/html/widgets/__init__.py b/IPython/html/widgets/__init__.py index d62a3d2..f72c67d 100644 --- a/IPython/html/widgets/__init__.py +++ b/IPython/html/widgets/__init__.py @@ -22,3 +22,8 @@ from .widget_int import IntTextWidget, BoundedIntTextWidget, IntSliderWidget, In from .widget_selection import RadioButtonsWidget, ToggleButtonsWidget, DropdownWidget, SelectWidget from .widget_selectioncontainer import TabWidget, AccordionWidget from .widget_string import HTMLWidget, LatexWidget, TextWidget, TextareaWidget + +# Warn on import +from IPython.utils.warn import warn +warn("""The widget API is still considered experimental and + may change by the next major release of IPython.""")