[issue7395] pstats add command raises unhandled exception

2010-08-01 Thread Georg Brandl

Georg Brandl ge...@python.org added the comment:

Fixed in r83388.

--
nosy: +georg.brandl
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7395
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7395] pstats add command raises unhandled exception

2009-11-25 Thread Jean-Paul Calderone

New submission from Jean-Paul Calderone exar...@divmod.com:

$ python -m pstats
Welcome to the profile statistics browser.
% help

Documented commands (type help topic):

EOF  add  callees  callers  quit  read  reverse  sort  stats  strip

Undocumented commands:
==
help

% help add
Add profile info from given file to current statistics object.
% add client.prof
Traceback (most recent call last):
  File /usr/lib/python2.6/runpy.py, line 122, in _run_module_as_main
__main__, fname, loader, pkg_name)
  File /usr/lib/python2.6/runpy.py, line 34, in _run_code
exec code in run_globals
  File /usr/lib/python2.6/pstats.py, line 690, in module
browser.cmdloop()
  File /usr/lib/python2.6/cmd.py, line 142, in cmdloop
stop = self.onecmd(line)
  File /usr/lib/python2.6/cmd.py, line 219, in onecmd
return func(arg)
  File /usr/lib/python2.6/pstats.py, line 600, in do_add
self.stats.add(line)
AttributeError: 'NoneType' object has no attribute 'add'
$

--
components: Library (Lib)
messages: 95729
nosy: exarkun
severity: normal
status: open
title: pstats add command raises unhandled exception
versions: Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7395
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com