##// END OF EJS Templates
Release 5.0.0b4...
Release 5.0.0b4 What's new since b3: Small delay since last beta release, sorry about that, a few reasons though: - We / I slowed down a bit on the beta release pace, there was a few bugs/issues/User interface annoyance that needed a new version of prompt_toolkit to be released, there was no reasons to make extra-beta without this new version released. - We backed-down on some changes on which we had a few disagrements (more below). - I got sick, and had to catch up with backlog. Anyway, Jonathan release prompt_toolkit 1.0.1 and 1.0.2, so even if you don't try this new beta, upgrading prompt_toolkit will fix some of your issues. == Move back `TerminalInteractiveShell` to it's old place. This is a bigger breaking change since 5.0b3, the `TerminalInteractiveshell` moved back from `IPython.terminal.ptshell` to `IPython.terminal.interactiveshell`, if you've updated your project recently to adapt to this change we're sorry, but despite the fact that the version pre 5.0 and post 5.0 are relatively different the cost of conditional import for project depending on us appeared to be too high. So it's now easier to migrate from 4.0 to 5.0 as the class have the same name, and same location == Option name and default changed. `TerminalInteractiveShell.display_completions_in_column` is now gone. It was not present on 4.x so no API breakage there, and is now replaced by `TerminalInteractiveShell.display_completions` and is a enum that gained a 3rd mode for the completer: `readlinelike` for those of you that regret readline. This give us more flexibility for further options. Would appreciate testing of this new layout from vi user. The two other mode now being `column` and `multicolumn`. By popular request, `multicolumn` is not the default value for the previous option. == bug fixed: - quit/exit broken in ipdb - Copy/Past broken on windowm - Unicode broken on windows - function signature garbled when using `object?` - issue with paging text with `?` - completer could get stuck. See the complete git log for more informations.

File last commit:

r21515:2c9013e4
r22560:1b487f7a
Show More
frontend.py
29 lines | 1.1 KiB | text/x-python | PythonLexer
Fernando Perez
Add proper warnings on use of the backwards compatibility shim.
r11015 """
Shim to maintain backwards compatibility with old frontend imports.
We have moved all contents of the old `frontend` subpackage into top-level
MinRK
note notebook move in frontend.py docstring
r11037 subpackages (`html`, `qt` and `terminal`), and flattened the notebook into
just `IPython.html`, formerly `IPython.frontend.html.notebook`.
Fernando Perez
Fix all remaining imports that used `IPython.frontend`.
r11024
This will let code that was making `from IPython.frontend...` calls continue
working, though a warning will be printed.
Fernando Perez
Add proper warnings on use of the backwards compatibility shim.
r11015 """
Thomas Kluyver
Add shim to preserve IPython.qt imports
r20851 # Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
Fernando Perez
Add proper warnings on use of the backwards compatibility shim.
r11015
Fernando Perez
Add shim module to allow flattening of namespace.
r11008 import sys
Fernando Perez
Fix imports for plain terminal ipython and use a proper warn() call.
r11020 from warnings import warn
Fernando Perez
Add shim module to allow flattening of namespace.
r11008
Min RK
add ShimWarning for shimmed imports...
r21515 from IPython.utils.shimmodule import ShimModule, ShimWarning
Fernando Perez
Replace exec/eval with proper __import__....
r11019
Min RK
add ShimWarning for shimmed imports...
r21515 warn("The top-level `frontend` package has been deprecated. "
"All its subpackages have been moved to the top `IPython` level.", ShimWarning)
Fernando Perez
Add proper warnings on use of the backwards compatibility shim.
r11015
# Unconditionally insert the shim into sys.modules so that further import calls
# trigger the custom attribute access above
Min RK
add import hook for shim packages...
r20990 sys.modules['IPython.frontend.html.notebook'] = ShimModule(
src='IPython.frontend.html.notebook', mirror='IPython.html')
sys.modules['IPython.frontend'] = ShimModule(
src='IPython.frontend', mirror='IPython')