Skip to content

Commit fdf9ef3

Browse files
committed
temporary fix for #106
1 parent 23d8a23 commit fdf9ef3

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

memory_profiler.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -859,9 +859,11 @@ def register_magics(cls, ip):
859859
else:
860860
ip.register_magics(cls)
861861

862-
# Ensuring old interface of magics expose for IPython 0.10
863-
magic_mprun = MemoryProfilerMagics().mprun.__func__
864-
magic_memit = MemoryProfilerMagics().memit.__func__
862+
# commenting out due to failures with some versions of IPython
863+
# see https://github.com/fabianp/memory_profiler/issues/106
864+
# # Ensuring old interface of magics expose for IPython 0.10
865+
# magic_mprun = MemoryProfilerMagics().mprun.__func__
866+
# magic_memit = MemoryProfilerMagics().memit.__func__
865867

866868

867869
def load_ipython_extension(ip):

0 commit comments

Comments
 (0)