Changes between Initial Version and Version 2 of Ticket #18204
- Timestamp:
- Apr 25, 2012, 1:30:09 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18204 – Description
initial v2 1 1 #17078 introduced the usage of `IPython.embed()`. This also introduced the bug described in the bottom part of https://github.com/ipython/ipython/issues/62 to the IPython shell opened by Django. For example: 2 2 3 {{{ 3 4 >>> def foo(): 4 5 ... print foo … … 6 7 ... 7 8 NameError: global name 'foo' is not defined 8 9 }}} 9 10 The issue https://github.com/ipython/ipython/issues/62 just solved for normal IPython shell, not for `embed` calling from function, which is used in current Django, as in django/core/management/commands/shell.py 10 11 {{{ 11 12 def ipython(self): 12 13 ... … … 14 15 embed() 15 16 ... 16 17 }}} 17 18 Some quotes of takluyver from IPython team in the github link above 18 19 … … 20 21 21 22 My env: Django 1.4 and 1.5 alpha w/ IPython 0.12 and 0.12.1 22