id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 19789 With IPython `./manage.py shell` gives back a DeprecationWarning regarding the with statement Rohan Jain nobody "I came across this issue while debugging #19738. This happens in a fresh django project. The traceback: {{{ └─> ./manage.py shell Python 2.7.3rc2 (default, Mar 21 2012, 06:59:11) Type ""copyright"", ""credits"" or ""license"" for more information. IPython 0.13.1 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. ('VIRTUAL_ENV ->', '/home/rohan/.virtualenvs/django/lib/python2.7/site-packages') /home/rohan/workspace/src/ipython/IPython/frontend/terminal/interactiveshell.py:463: DeprecationWarning: With-statements now directly support multiple context managers with nested(self.builtin_trap, self.display_trap): }}} It doesn't seem like an issue in IPython because I was able to similarly invoke it from a python script without any warning." Bug closed Core (Management commands) dev Normal invalid int_ua Unreviewed 0 0 0 0 0 0