##// END OF EJS Templates
Fix Qt loader commit_api() for 'pyqtv1' or 'pyqtdefault'...
Fix Qt loader commit_api() for 'pyqtv1' or 'pyqtdefault' Our Qt loaders have three options representing PyQt - pyqt (with v2 strings API), pyqtv1 (v1 ditto), and pyqtdefault, which is v2 on Python 3 only. When loading pyqtv1 or pyqtdefault, the code to deny imports of other bindings would assume that api != pyqt meant we were using pyqt5, and forbid future imports of PyQt4. This changes the logic around so PyQt4 is the else: case, catching all three possible names for it. PyQt5 and PySide have, so far, only one name each.
Thomas Kluyver -
r18405:5f275fe1
Show More
Name Size Modified Last Commit Author
/ IPython / core
magics
tests
__init__.py Loading ...
alias.py Loading ...
application.py Loading ...
autocall.py Loading ...
builtin_trap.py Loading ...
compilerop.py Loading ...
completer.py Loading ...
completerlib.py Loading ...
crashhandler.py Loading ...
debugger.py Loading ...
display.py Loading ...
display_trap.py Loading ...
displayhook.py Loading ...
displaypub.py Loading ...
error.py Loading ...
events.py Loading ...
excolors.py Loading ...
extensions.py Loading ...
formatters.py Loading ...
getipython.py Loading ...
history.py Loading ...
historyapp.py Loading ...
hooks.py Loading ...
inputsplitter.py Loading ...
inputtransformer.py Loading ...
interactiveshell.py Loading ...
latex_symbols.py Loading ...
logger.py Loading ...
macro.py Loading ...
magic.py Loading ...
magic_arguments.py Loading ...
oinspect.py Loading ...
page.py Loading ...
payload.py Loading ...
payloadpage.py Loading ...
prefilter.py Loading ...
profileapp.py Loading ...
profiledir.py Loading ...
prompts.py Loading ...
pylabtools.py Loading ...
release.py Loading ...
shadowns.py Loading ...
shellapp.py Loading ...
splitinput.py Loading ...
ultratb.py Loading ...
usage.py Loading ...