##// END OF EJS Templates
Kernel/notebook mapping is removed when a kernel dies....
Kernel/notebook mapping is removed when a kernel dies. * Previously, when a kernel died due to an external cause, the notebook/kernel mapping was not removed, so the kernel would be resused even though it was dead. * The heartbeat now properly removes the notebook/kernel mapping.

File last commit:

r3456:f38fe81a
r4563:a1dcaf67
Show More
__init__.py
13 lines | 562 B | text/x-python | PythonLexer
try:
import argparse
# Workaround an argparse bug, FIXED in argparse 1.1.0
if 'RawTextHelpFormatterArgumentDefaultsHelpFormatter' in argparse.__all__:
import itertools
argparse.__all__ = list(itertools.chain( [i for i in argparse.__all__
if i != 'RawTextHelpFormatterArgumentDefaultsHelpFormatter'],
['RawTextHelpFormatter', 'ArgumentDefaultsHelpFormatter']))
argparse.__all__.append('SUPPRESS')
from argparse import *
except ImportError:
from _argparse import *
from _argparse import SUPPRESS