##// END OF EJS Templates
print the version on crash
Matthias Bussonnier -
Show More
@@ -29,6 +29,8 b' from IPython.core.release import author_email'
29 29 from IPython.utils.sysinfo import sys_info
30 30 from IPython.utils.py3compat import input
31 31
32 from IPython.core.release import __version__ as version
33
32 34 #-----------------------------------------------------------------------------
33 35 # Code
34 36 #-----------------------------------------------------------------------------
@@ -68,7 +70,7 b' To ensure accurate tracking of this issue, please file a report about it at:'
68 70 """
69 71
70 72 _lite_message_template = """
71 If you suspect this is an IPython bug, please report it at:
73 If you suspect this is an IPython {version} bug, please report it at:
72 74 https://github.com/ipython/ipython/issues
73 75 or send an email to the mailing list at {email}
74 76
@@ -222,5 +224,5 b' def crash_handler_lite(etype, evalue, tb):'
222 224 else:
223 225 # we are not in a shell, show generic config
224 226 config = "c."
225 print(_lite_message_template.format(email=author_email, config=config), file=sys.stderr)
227 print(_lite_message_template.format(email=author_email, config=config, version=version), file=sys.stderr)
226 228
@@ -105,4 +105,8 b' echo $GREEN"Press enter to continue"$NOR'
105 105 read
106 106 git checkout $VERSION
107 107
108 # ./tools/release
109 # ls ./dist
110 # shasum -a 256 dist/*
111
108 112
General Comments 0
You need to be logged in to leave comments. Login now