Re: iPython behaves strangely only with Django shell

2012-08-29 Thread Alex Ogier
On Wed, Aug 29, 2012 at 10:58 AM, Yo-Yo Ma wrote: > The following gist demonstrates a strange phenomenon, which occurs when I > use ``python manage.py shell``, but not when I use ``ipython`` alone. > > https://gist.github.com/f8c2fd97647de90d915a > > I'm not certain

Re: iPython behaves strangely only with Django shell

2012-08-29 Thread Alex Gaynor
On Wed, Aug 29, 2012 at 9:37 AM, Jacob Kaplan-Moss wrote: > This looks like some sort of error in your environment; I can't reproduce > it:: > > $ ./manage.py shell > In [1]: import decimal > > In [2]: class F(object): >...: d = decimal.Decimal('0') >

Re: iPython behaves strangely only with Django shell

2012-08-29 Thread Jacob Kaplan-Moss
This looks like some sort of error in your environment; I can't reproduce it:: $ ./manage.py shell In [1]: import decimal In [2]: class F(object): ...: d = decimal.Decimal('0') ...: In [3]: $ ipython In [1]: import decimal In [2] >>> class

iPython behaves strangely only with Django shell

2012-08-29 Thread Yo-Yo Ma
The following gist demonstrates a strange phenomenon, which occurs when I use ``python manage.py shell``, but not when I use ``ipython`` alone. https://gist.github.com/f8c2fd97647de90d915a I'm not certain whether this is a known issue, or whether it's even a Django bug, but certainly nothing