From 13fbfa46ba43af3670b2d4a0ae589792210cc40d 2022-01-05 09:47:13 From: Matthias Bussonnier Date: 2022-01-05 09:47:13 Subject: [PATCH] API diff --- diff --git a/docs/source/whatsnew/version8.rst b/docs/source/whatsnew/version8.rst index d0a7eac..640b48a 100644 --- a/docs/source/whatsnew/version8.rst +++ b/docs/source/whatsnew/version8.rst @@ -651,3 +651,256 @@ maintainers pushing buttons.:: This does not of course represent non-code contributions. + +API Changes using Frappuccino +----------------------------- + +This is an experimental exhaustive API difference using `Frappuccino `_ + + +The following items are new in IPython 8.0 :: + + + IPython.core.async_helpers.get_asyncio_loop() + + IPython.core.completer.Dict + + IPython.core.completer.Pattern + + IPython.core.completer.Sequence + + IPython.core.completer.__skip_doctest__ + + IPython.core.debugger.Pdb.precmd(self, line) + + IPython.core.debugger.__skip_doctest__ + + IPython.core.display.__getattr__(name) + + IPython.core.display.warn + + IPython.core.display_functions + + IPython.core.display_functions.DisplayHandle + + IPython.core.display_functions.DisplayHandle.display(self, obj, **kwargs) + + IPython.core.display_functions.DisplayHandle.update(self, obj, **kwargs) + + IPython.core.display_functions.__all__ + + IPython.core.display_functions.__builtins__ + + IPython.core.display_functions.__cached__ + + IPython.core.display_functions.__doc__ + + IPython.core.display_functions.__file__ + + IPython.core.display_functions.__loader__ + + IPython.core.display_functions.__name__ + + IPython.core.display_functions.__package__ + + IPython.core.display_functions.__spec__ + + IPython.core.display_functions.b2a_hex + + IPython.core.display_functions.clear_output(wait=False) + + IPython.core.display_functions.display(*objs, include='None', exclude='None', metadata='None', transient='None', display_id='None', raw=False, clear=False, **kwargs) + + IPython.core.display_functions.publish_display_data(data, metadata='None', source='', *, transient='None', **kwargs) + + IPython.core.display_functions.update_display(obj, *, display_id, **kwargs) + + IPython.core.extensions.BUILTINS_EXTS + + IPython.core.inputtransformer2.has_sunken_brackets(tokens) + + IPython.core.interactiveshell.Callable + + IPython.core.interactiveshell.__annotations__ + + IPython.core.ultratb.List + + IPython.core.ultratb.Tuple + + IPython.lib.pretty.CallExpression + + IPython.lib.pretty.CallExpression.factory(name) + + IPython.lib.pretty.RawStringLiteral + + IPython.lib.pretty.RawText + + IPython.terminal.debugger.TerminalPdb.do_interact(self, arg) + + IPython.terminal.embed.Set + +The following items have been removed (or moved to superclass):: + + - IPython.core.application.BaseIPythonApplication.initialize_subcommand + - IPython.core.completer.Sentinel + - IPython.core.completer.skip_doctest + - IPython.core.debugger.Tracer + - IPython.core.display.DisplayHandle + - IPython.core.display.DisplayHandle.display + - IPython.core.display.DisplayHandle.update + - IPython.core.display.b2a_hex + - IPython.core.display.clear_output + - IPython.core.display.display + - IPython.core.display.publish_display_data + - IPython.core.display.update_display + - IPython.core.excolors.Deprec + - IPython.core.excolors.ExceptionColors + - IPython.core.history.warn + - IPython.core.hooks.late_startup_hook + - IPython.core.hooks.pre_run_code_hook + - IPython.core.hooks.shutdown_hook + - IPython.core.interactiveshell.InteractiveShell.init_deprecation_warnings + - IPython.core.interactiveshell.InteractiveShell.init_readline + - IPython.core.interactiveshell.InteractiveShell.write + - IPython.core.interactiveshell.InteractiveShell.write_err + - IPython.core.interactiveshell.get_default_colors + - IPython.core.interactiveshell.removed_co_newlocals + - IPython.core.magics.execution.ExecutionMagics.profile_missing_notice + - IPython.core.magics.script.PIPE + - IPython.core.prefilter.PrefilterManager.init_transformers + - IPython.core.release.classifiers + - IPython.core.release.description + - IPython.core.release.keywords + - IPython.core.release.long_description + - IPython.core.release.name + - IPython.core.release.platforms + - IPython.core.release.url + - IPython.core.ultratb.VerboseTB.format_records + - IPython.core.ultratb.find_recursion + - IPython.core.ultratb.findsource + - IPython.core.ultratb.fix_frame_records_filenames + - IPython.core.ultratb.inspect_error + - IPython.core.ultratb.is_recursion_error + - IPython.core.ultratb.with_patch_inspect + - IPython.external.__all__ + - IPython.external.__builtins__ + - IPython.external.__cached__ + - IPython.external.__doc__ + - IPython.external.__file__ + - IPython.external.__loader__ + - IPython.external.__name__ + - IPython.external.__package__ + - IPython.external.__path__ + - IPython.external.__spec__ + - IPython.kernel.KernelConnectionInfo + - IPython.kernel.__builtins__ + - IPython.kernel.__cached__ + - IPython.kernel.__warningregistry__ + - IPython.kernel.pkg + - IPython.kernel.protocol_version + - IPython.kernel.protocol_version_info + - IPython.kernel.src + - IPython.kernel.version_info + - IPython.kernel.warn + - IPython.lib.backgroundjobs + - IPython.lib.backgroundjobs.BackgroundJobBase + - IPython.lib.backgroundjobs.BackgroundJobBase.run + - IPython.lib.backgroundjobs.BackgroundJobBase.traceback + - IPython.lib.backgroundjobs.BackgroundJobExpr + - IPython.lib.backgroundjobs.BackgroundJobExpr.call + - IPython.lib.backgroundjobs.BackgroundJobFunc + - IPython.lib.backgroundjobs.BackgroundJobFunc.call + - IPython.lib.backgroundjobs.BackgroundJobManager + - IPython.lib.backgroundjobs.BackgroundJobManager.flush + - IPython.lib.backgroundjobs.BackgroundJobManager.new + - IPython.lib.backgroundjobs.BackgroundJobManager.remove + - IPython.lib.backgroundjobs.BackgroundJobManager.result + - IPython.lib.backgroundjobs.BackgroundJobManager.status + - IPython.lib.backgroundjobs.BackgroundJobManager.traceback + - IPython.lib.backgroundjobs.__builtins__ + - IPython.lib.backgroundjobs.__cached__ + - IPython.lib.backgroundjobs.__doc__ + - IPython.lib.backgroundjobs.__file__ + - IPython.lib.backgroundjobs.__loader__ + - IPython.lib.backgroundjobs.__name__ + - IPython.lib.backgroundjobs.__package__ + - IPython.lib.backgroundjobs.__spec__ + - IPython.lib.kernel.__builtins__ + - IPython.lib.kernel.__cached__ + - IPython.lib.kernel.__doc__ + - IPython.lib.kernel.__file__ + - IPython.lib.kernel.__loader__ + - IPython.lib.kernel.__name__ + - IPython.lib.kernel.__package__ + - IPython.lib.kernel.__spec__ + - IPython.lib.kernel.__warningregistry__ + - IPython.paths.fs_encoding + - IPython.terminal.debugger.DEFAULT_BUFFER + - IPython.terminal.debugger.cursor_in_leading_ws + - IPython.terminal.debugger.emacs_insert_mode + - IPython.terminal.debugger.has_selection + - IPython.terminal.debugger.vi_insert_mode + - IPython.terminal.interactiveshell.DISPLAY_BANNER_DEPRECATED + - IPython.terminal.ipapp.TerminalIPythonApp.parse_command_line + - IPython.testing.test + - IPython.utils.contexts.NoOpContext + - IPython.utils.io.IOStream + - IPython.utils.io.IOStream.close + - IPython.utils.io.IOStream.write + - IPython.utils.io.IOStream.writelines + - IPython.utils.io.__warningregistry__ + - IPython.utils.io.atomic_writing + - IPython.utils.io.stderr + - IPython.utils.io.stdin + - IPython.utils.io.stdout + - IPython.utils.io.unicode_std_stream + - IPython.utils.path.get_ipython_cache_dir + - IPython.utils.path.get_ipython_dir + - IPython.utils.path.get_ipython_module_path + - IPython.utils.path.get_ipython_package_dir + - IPython.utils.path.locate_profile + - IPython.utils.path.unquote_filename + - IPython.utils.py3compat.PY2 + - IPython.utils.py3compat.PY3 + - IPython.utils.py3compat.buffer_to_bytes + - IPython.utils.py3compat.builtin_mod_name + - IPython.utils.py3compat.cast_bytes + - IPython.utils.py3compat.getcwd + - IPython.utils.py3compat.isidentifier + - IPython.utils.py3compat.u_format + +The following signatures differ between 7.x and 8.0:: + + - IPython.core.completer.IPCompleter.unicode_name_matches(self, text) + + IPython.core.completer.IPCompleter.unicode_name_matches(text) + + - IPython.core.completer.match_dict_keys(keys, prefix, delims) + + IPython.core.completer.match_dict_keys(keys, prefix, delims, extra_prefix='None') + + - IPython.core.interactiveshell.InteractiveShell.object_inspect_mime(self, oname, detail_level=0) + + IPython.core.interactiveshell.InteractiveShell.object_inspect_mime(self, oname, detail_level=0, omit_sections='()') + + - IPython.core.interactiveshell.InteractiveShell.set_hook(self, name, hook, priority=50, str_key='None', re_key='None', _warn_deprecated=True) + + IPython.core.interactiveshell.InteractiveShell.set_hook(self, name, hook, priority=50, str_key='None', re_key='None') + + - IPython.core.oinspect.Inspector.info(self, obj, oname='', formatter='None', info='None', detail_level=0) + + IPython.core.oinspect.Inspector.info(self, obj, oname='', info='None', detail_level=0) + + - IPython.core.oinspect.Inspector.pinfo(self, obj, oname='', formatter='None', info='None', detail_level=0, enable_html_pager=True) + + IPython.core.oinspect.Inspector.pinfo(self, obj, oname='', formatter='None', info='None', detail_level=0, enable_html_pager=True, omit_sections='()') + + - IPython.core.profiledir.ProfileDir.copy_config_file(self, config_file, path='None', overwrite=False) + + IPython.core.profiledir.ProfileDir.copy_config_file(self, config_file, path, overwrite=False) + + - IPython.core.ultratb.VerboseTB.format_record(self, frame, file, lnum, func, lines, index) + + IPython.core.ultratb.VerboseTB.format_record(self, frame_info) + + - IPython.terminal.embed.InteractiveShellEmbed.mainloop(self, local_ns='None', module='None', stack_depth=0, display_banner='None', global_ns='None', compile_flags='None') + + IPython.terminal.embed.InteractiveShellEmbed.mainloop(self, local_ns='None', module='None', stack_depth=0, compile_flags='None') + + - IPython.terminal.embed.embed(**kwargs) + + IPython.terminal.embed.embed(*, header='', compile_flags='None', **kwargs) + + - IPython.terminal.interactiveshell.TerminalInteractiveShell.interact(self, display_banner='') + + IPython.terminal.interactiveshell.TerminalInteractiveShell.interact(self) + + - IPython.terminal.interactiveshell.TerminalInteractiveShell.mainloop(self, display_banner='') + + IPython.terminal.interactiveshell.TerminalInteractiveShell.mainloop(self) + + - IPython.utils.path.get_py_filename(name, force_win32='None') + + IPython.utils.path.get_py_filename(name) + +The following are new attributes (that might be inherited):: + + + IPython.core.completer.IPCompleter.unicode_names + + IPython.core.debugger.InterruptiblePdb.precmd + + IPython.core.debugger.Pdb.precmd + + IPython.core.ultratb.AutoFormattedTB.has_colors + + IPython.core.ultratb.ColorTB.has_colors + + IPython.core.ultratb.FormattedTB.has_colors + + IPython.core.ultratb.ListTB.has_colors + + IPython.core.ultratb.SyntaxTB.has_colors + + IPython.core.ultratb.TBTools.has_colors + + IPython.core.ultratb.VerboseTB.has_colors + + IPython.terminal.debugger.TerminalPdb.do_interact + + IPython.terminal.debugger.TerminalPdb.precmd + +The following attribute/methods have been removed:: + + - IPython.core.application.BaseIPythonApplication.deprecated_subcommands + - IPython.core.ultratb.AutoFormattedTB.format_records + - IPython.core.ultratb.ColorTB.format_records + - IPython.core.ultratb.FormattedTB.format_records + - IPython.terminal.embed.InteractiveShellEmbed.init_deprecation_warnings + - IPython.terminal.embed.InteractiveShellEmbed.init_readline + - IPython.terminal.embed.InteractiveShellEmbed.write + - IPython.terminal.embed.InteractiveShellEmbed.write_err + - IPython.terminal.interactiveshell.TerminalInteractiveShell.init_deprecation_warnings + - IPython.terminal.interactiveshell.TerminalInteractiveShell.init_readline + - IPython.terminal.interactiveshell.TerminalInteractiveShell.write + - IPython.terminal.interactiveshell.TerminalInteractiveShell.write_err + - IPython.terminal.ipapp.LocateIPythonApp.deprecated_subcommands + - IPython.terminal.ipapp.LocateIPythonApp.initialize_subcommand + - IPython.terminal.ipapp.TerminalIPythonApp.deprecated_subcommands + - IPython.terminal.ipapp.TerminalIPythonApp.initialize_subcommand