##// END OF EJS Templates
Let %autoreload work on modules with frozen dataclasses...
Let %autoreload work on modules with frozen dataclasses See Issue #12411 and Issue #12185. The problem is that a frozen `dataclasses.dataclass` overrides the `__setattr__()` method, so updating its `__class__` member requires going through the base `object` class. This seems to fix the problem.

File last commit:

r24241:86b88904
r27716:becb905f
Show More
consoleapp.py
12 lines | 415 B | text/x-python | PythonLexer
"""
Shim to maintain backwards compatibility with old IPython.consoleapp imports.
"""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from warnings import warn
warn("The `IPython.consoleapp` package has been deprecated since IPython 4.0."
"You should import from jupyter_client.consoleapp instead.", stacklevel=2)
from jupyter_client.consoleapp import *