This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author exarkun
Recipients exarkun
Date 2009-11-25.23:35:40
SpamBayes Score 5.7563143e-06
Marked as misclassified No
Message-id <1259192143.69.0.167653285401.issue7395@psf.upfronthosting.co.za>
In-reply-to
Content
$ 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'
$
History
Date User Action Args
2009-11-25 23:35:43exarkunsetrecipients: + exarkun
2009-11-25 23:35:43exarkunsetmessageid: <1259192143.69.0.167653285401.issue7395@psf.upfronthosting.co.za>
2009-11-25 23:35:41exarkunlinkissue7395 messages
2009-11-25 23:35:40exarkuncreate