Changes between Initial Version and Version 2 of Ticket #18204


Ignore:
Timestamp:
04/25/2012 01:30:09 AM (3 years ago)
Author:
claudep
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18204

    • Property Patch needs improvement unset
    • Property Needs tests unset
    • Property Needs documentation unset
  • Ticket #18204 – Description

    initial v2  
    11#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:
    22
     3{{{
    34    >>> def foo():
    45    ...     print foo
     
    67    ...
    78    NameError: global name 'foo' is not defined
    8 
     9}}}
    910The 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{{{
    1112    def ipython(self):
    1213        ...
     
    1415            embed()
    1516        ...
    16 
     17}}}
    1718Some quotes of takluyver from IPython team in the github link above
    1819
     
    2021
    2122My env: Django 1.4 and 1.5 alpha w/ IPython 0.12 and 0.12.1
    22 
Back to Top