﻿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
15737	Importing hotshot.stats fails	Adam Nelson	nobody	"Trying to import hotshot.stats from Python succeeds while using the Django shell fails.

{{{
(example-env)Adam-Nelsons-MacBook-Pro:example adam$ ./manage.py shell
Python 2.7.1 (r271:86832, Mar 23 2011, 10:01:47) 
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type ""help"", ""copyright"", ""credits"" or ""license"" for more information.
(InteractiveConsole)
>>> import hotshot.stats
Traceback (most recent call last):
  File ""<console>"", line 1, in <module>
  File ""/usr/local/Cellar/python/2.7.1/lib/python2.7/hotshot/stats.py"", line 74, in <module>
    class Profile(profile.Profile):
AttributeError: 'module' object has no attribute 'Profile'
>>> 
(example-env)Adam-Nelsons-MacBook-Pro:example adam$ python
Python 2.7.1 (r271:86832, Mar 23 2011, 10:01:47) 
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type ""help"", ""copyright"", ""credits"" or ""license"" for more information.
>>> import hotshot.stats
>>> 
}}}"	Bug	closed	Core (Other)	1.3	Normal	worksforme			Unreviewed	0	0	0	0	0	0
