yahoo.search.debug (version 1.7, Wed Oct 26 11:15:36 PDT 2005)index/home/leif/hack/pysearch.git/yahoo/search/debug.py
yahoo.search.debug - Debugging utilities
This module defines and provides some debugging utilities that can
be used when you encounter problems with the search APIs. Most
interesting is the various debugging levels:
HTTP - Various HTTP protocol related information.
PARAMS - Show debugging information about CGI parameters.
PARSING - Show parsing processing.
RAWXML - Show the raw XML.
ALL - Show everything.
Modules
sys
Classes
- __builtin__.object
-
- Debuggable
class Debuggable(__builtin__.object)
Debuggable - Simple "base" class to implement debugging. You
should use this instead of object as a base class. The only
useful member function is _debug_msg, intentionally made
private to avoid exposing it in docs and APIs.
Methods defined here:
- __init__(self, debug_level=0)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data
DEBUG_LEVELS = {'ALL': 4294967295L, 'HTTP': 1, 'PARAMS': 2, 'PARSING': 4, 'RAWXML': 2147483648L}
__author__ = 'Leif Hedstrom <leif@ogre.com>'
__date__ = 'Wed Oct 26 11:15:36 PDT 2005'
__revision__ = '$Id: debug.py,v 1.7 2005-10-26 20:32:27 zwoop Exp $'
__version__ = '$Revision: 1.7 $'
Author
Leif Hedstrom <leif@ogre.com>
retrieved