##// END OF EJS Templates
Remove EventManager reset methods, because they violate encapsulation....
Remove EventManager reset methods, because they violate encapsulation. The whole idea of the EventManager is that you can register hooks without worrying about what hooks other pieces of code might be registering. The reset methods violate this separation of concerns, since they will blow away everyone else's hooks too. (See gh-6680 for an example of this breaking things.) Since there is never any safe way to use them, we simply remove them entirely.

File last commit:

r7473:018b5801
r18547:4043b271
Show More
parallelmagic.py
20 lines | 617 B | text/x-python | PythonLexer
# encoding: utf-8
"""
=============
parallelmagic
=============
Deprecated, parallel magics are no longer an extension.
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2008 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
from warnings import warn
def load_ipython_extension(ip):
warn("Parallel Magics are no longer defined in an extension", DeprecationWarning)